api reference

Resend Forward Confirm

POST
/v1/forward-targets/{address}/resend

Path Parameters

address*Address

Header Parameters

authorization?string|null

Response Body

application/json

application/json

curl -X POST "https://example.com/v1/forward-targets/string/resend"
{  "address": "string",  "status": "pending",  "pending_reason": "confirm_link",  "verified_at": "2019-08-24T14:15:22Z",  "token_sent_at": "2019-08-24T14:15:22Z",  "stopped_at": "2019-08-24T14:15:22Z",  "stopped_reason": "string"}

Remove Sip Connection Number

Remove a number from Hail. It stays with your phone system and your provider; calls stop reaching Hail agents.

Resubmit Verification

Fix a rejected number registration and file it again (multipart/form-data), without typing everything again. Hail keeps a number registration's answers and files for 30 days after submit (`kept_until` on the verification; read them with `GET /v1/verifications/{id}/application`). This files a new registration from them, with your changes. Every part is optional: * `fields` (JSON object), `address` (JSON object) and `documents` (JSON object: slot name to `{"option": ..., "fields": {...}}`) each replace the kept value whole when sent; * `file.<slot>`, or `upload.<slot>` (an upload id, as in `POST /v1/verifications`), replaces the kept file of that slot. A slot with no new file reuses the kept one, while it keeps the document `option` it was filed with (a new option needs a new file). A kept file whose slot is no longer in `documents` is not sent; * `quote_id`: the offer to verify for. Default: the quote of the rejected filing, which Hail keeps while the answers are kept. Pass a new one for a newer price, or when that offer is no longer sold (409). The purpose, country, number type and subject type stay as filed: sending one of them with another value is a 422. The new registration goes through every check of `POST /v1/verifications` (422, 402, 409, the credit set aside) and answers the same way, as a new verification with its own id. Once it is filed, the rejected one is dismissed (as `DELETE /v1/verifications/{id}`) and its kept answers and files are deleted. Only one resubmit of a registration can succeed; another one sent at the same time is a 409.