Watch an out-of-stock country
Get notified the first time an out-of-stock country has deliverable
numbers again: an email to the account holder plus the
phone_number.stock_available webhook. Stock is re-checked every 6h.
One watch per country and number type; a repeat request returns the
existing watch (200). The watch is consumed when it fires, so re-create
it if you miss the stock. Up to 20 watches at once.
Countries and types marked fulfilment: request by
GET /v1/phone-numbers/countries can also be watched, but anything with
preOrderable: true does not need a watch: submit KYC and the carrier
sources the number to order.
Authorization
bearerAuth API key authentication: send your Zernio API key in the Authorization header, prefixed with Bearer.
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
{ "id": "string", "country": "string", "countryName": "string", "numberType": "local", "createdAt": "2019-08-24T14:15:22Z"}