Velacent Bridge: beta December 2026, general availability early 2027. E-mail sales to request beta access.

Documentation menu

Voicecall optouts API

Last updated . Documentation for the current release. Ask in the product.

4 operations. Back to the API overview. Examples use synthetic data.

Returns how many numbers are on the reminder call opt-out list (never the numbers)

GET /admin/v1/voice-calls/opt-outs

Returns how many numbers are on the reminder call opt-out list (never the numbers).

Needs the permission: config:history.

Response 200

Response fields of Returns how many numbers are on the reminder call opt-out list (never the numbers)
FieldTypePresenceDescription
from_callsintegeroptionalFromCalls were reported opted out by the customer's agent.
from_consoleintegeroptionalFromConsole were added by an administrator.
Example response (synthetic data)
{
  "from_calls": 1,
  "from_console": 1
}

Other responses

  • 401 Authentication required
  • 403 Not permitted
  • 404 Not Found
  • 503 Unavailable (nothing was changed)
Example request
curl --request GET \
  --header "Authorization: Bearer $ID_TOKEN" \
  "https://YOUR-CONSOLE-HOST/admin/v1/voice-calls/opt-outs"

Puts one number on the list

POST /admin/v1/voice-calls/opt-outs

Puts one number on the list: the customer's voice agent is never asked to call it again from any destination.

Needs the permission: config:write.

Request body

Request body of Puts one number on the list
FieldTypePresenceDescription
phonestringoptionalPhone is a US number (ten digits, with or without +1 and separators).
Example request body (synthetic data)
{
  "phone": "example"
}

Response 200

Response fields of Puts one number on the list
FieldTypePresenceDescription
changedbooleanoptionalChanged is false when the list already said so (nothing written).
opted_outbooleanoptional-
Example response (synthetic data)
{
  "changed": true,
  "opted_out": true
}

Other responses

  • 400 Bad Request
  • 401 Authentication required
  • 403 Not permitted
  • 404 Not Found
  • 503 Unavailable (nothing was changed)
Example request
curl --request POST \
  --header "Authorization: Bearer $ID_TOKEN" \
  --header "Content-Type: application/json" \
  --data '{"phone":"example"}' \
  "https://YOUR-CONSOLE-HOST/admin/v1/voice-calls/opt-outs"

Takes one number off the list (the patient asked to be called again)

DELETE /admin/v1/voice-calls/opt-outs

Takes one number off the list (the patient asked to be called again). A person in the console only: refused through Ask AI and MCP agents.

Needs the permission: config:write.

Request body

Request body of Takes one number off the list (the patient asked to be called again)
FieldTypePresenceDescription
phonestringoptionalPhone is a US number (ten digits, with or without +1 and separators).
Example request body (synthetic data)
{
  "phone": "example"
}

Response 200

Response fields of Takes one number off the list (the patient asked to be called again)
FieldTypePresenceDescription
changedbooleanoptionalChanged is false when the list already said so (nothing written).
opted_outbooleanoptional-
Example response (synthetic data)
{
  "changed": true,
  "opted_out": true
}

Other responses

  • 400 Bad Request
  • 401 Authentication required
  • 403 Not permitted
  • 404 Not Found
  • 503 Unavailable (nothing was changed)
Example request
curl --request DELETE \
  --header "Authorization: Bearer $ID_TOKEN" \
  --header "Content-Type: application/json" \
  --data '{"phone":"example"}' \
  "https://YOUR-CONSOLE-HOST/admin/v1/voice-calls/opt-outs"

Reports whether one number is on the list (audited; the number itself is never logged or audited)

POST /admin/v1/voice-calls/opt-outs/check

Reports whether one number is on the list (audited; the number itself is never logged or audited).

Needs the permission: config:write.

Request body

Request body of Reports whether one number is on the list (audited; the number itself is never logged or audited)
FieldTypePresenceDescription
phonestringoptionalPhone is a US number (ten digits, with or without +1 and separators).
Example request body (synthetic data)
{
  "phone": "example"
}

Response 200

Response fields of Reports whether one number is on the list (audited; the number itself is never logged or audited)
FieldTypePresenceDescription
changedbooleanoptionalChanged is false when the list already said so (nothing written).
opted_outbooleanoptional-
Example response (synthetic data)
{
  "changed": true,
  "opted_out": true
}

Other responses

  • 400 Bad Request
  • 401 Authentication required
  • 403 Not permitted
  • 404 Not Found
  • 503 Unavailable (nothing was changed)
Example request
curl --request POST \
  --header "Authorization: Bearer $ID_TOKEN" \
  --header "Content-Type: application/json" \
  --data '{"phone":"example"}' \
  "https://YOUR-CONSOLE-HOST/admin/v1/voice-calls/opt-outs/check"

Something unclear or missing? Ask Help in the Velacent Bridge console; answers link to the right screen. How support works.