Skip to main content
POST
/
agency
/
twilio
/
auto-assign-to-trust-profiles
Auto-assign phone number to trust profiles based on End User type
curl --request POST \
  --url https://api.cleartalk.ai/agency/twilio/auto-assign-to-trust-profiles \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "phoneNumberSid": "<string>"
}
'
{
  "businessProfile": {},
  "shakenStir": {},
  "voiceIntegrity": {},
  "errors": [
    {
      "type": "<string>",
      "error": "<string>"
    }
  ]
}

Authorizations

x-api-key
string
header
required

API Key for authentication

Body

application/json
phoneNumberSid
string

Response

Auto assignment attempted; returns results and any errors

businessProfile
object
shakenStir
object
voiceIntegrity
object
errors
object[]