Skip to main content
POST
cURL

Authorizations

X-Auth-ID
string
header
required

Your Vobiz account Auth ID (MA_XXXXXXXX).

X-Auth-Token
string
header
required

Your Vobiz account Auth Token.

Path Parameters

id
string<uuid>
required

Campaign ID (UUID) returned by POST /10dlc/campaigns or POST /10dlc/campaigns/toll-free. An unknown ID, an ID from another account, or a value that is not a UUID returns 404 with {"error":"campaign not found"}.

Body

application/json

Numbers to add to, remove from or re-register on a campaign. Provide numbers, numberKeys, or both; if both are empty the request returns 400 with invalid request: numbers or numberKeys is required.

numbers
string[]

Phone numbers on your account, as digits with country code and no + (for example 14155550100). These values also update the campaign's numbers list on add and remove.

Example:
numberKeys
string[]

Registry number keys from GET /10dlc/campaigns/{id}/numbers, as an alternative to numbers.

Response

The numbers were added.

Confirmation returned by actions that have no resource to return, such as marking a conversation read or creating or deleting an opt-out.

status
string

Always ok when the action succeeded.

Example:

"ok"