Outpost logoOutpost Docs

Opt a phone number back in to receiving messages

DELETE
/v1/phones/{phone}/opt-out
x-api-key<token>

Project-scoped API key. Keys carry either the ADMIN or TENANT role; a route additionally requires that the key's role is listed in its x-required-roles. Machine-to-machine callers should use this.

In: header

Path Parameters

phone*string

Phone number in E.164 format (e.g., +12488778283)

Match^\+[1-9]\d{1,14}$

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X DELETE "https://example.com/v1/phones/string/opt-out"
{  "phone": "string",  "isOptedOut": true}