Skip to main content
POST
Add a DND number

Authorizations

API-Token
string
header
required

16-character API token associated with your OSVI account. Find it in your dashboard under Settings → API.

Body

application/json
agent_uuid
string
required
Example:

"agent_IsZ3Q6Sf_60Eh26XQMGbz-R_og"

phone
string
required
Example:

"9876543210"

reason
string

Optional note for your own records.

Example:

"customer opted out"

Response

The created DND entry.

success
boolean
Example:

true

data
object