Restore a contact

Takes a deleted contact out of Trash, by whoever may delete it. Its numbers name it again, except one another saved contact took meanwhile, which stays with that one. Restoring a contact that isn't deleted answers it unchanged.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
uuid
required

The contact's id.

Headers
uuid

The account this request acts in, by its id (id in GET /me's accounts). Needed only by credentials that reach several accounts: without it an API key acts in its own account, and a person reads their home account but must name the account a write acts in (400 account_required). Naming an account the credentials may not act in: 403 forbidden. Empty, not an account id, or sent twice: 400 parameter_invalid. Each names Account-Id in param.

string

The etag you read (with or without W/): the write is made only if the contact is still that version, else 412 precondition_failed and nothing changes. * or no header: any version.

string
length between 1 and 255

A unique value for this request (a UUID is usual), 1 to 255 printable ASCII characters. Send it again, unchanged, on every retry, whatever went wrong: an error, a 503 that isn't JSON, a timeout. A retry with the same key never repeats the work: for 24 hours it answers the first answer again. The same key with a different request is 400 idempotency_key_reused; while the first request still runs, 409 idempotency_key_in_use. Use a new key only for a new request, or once a GET showed that a create didn't happen. Keys are kept per credentials, per account and per endpoint.

Responses

Language
Credentials
Bearer
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json