Skip to main content
POST
/
agency
/
twilio
/
assign-to-trust-profiles
Assign phone number to trust profiles
curl --request POST \
  --url https://api.cleartalk.ai/agency/twilio/assign-to-trust-profiles \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "phoneNumberSid": "<string>",
  "businessProfileSid": "<string>",
  "shakenStirTrustProductSid": "<string>",
  "voiceIntegrityTrustProductSid": "<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
required

Phone number SID

businessProfileSid
string

Business profile SID

shakenStirTrustProductSid
string

SHAKEN/STIR trust product SID

voiceIntegrityTrustProductSid
string

Voice Integrity trust product SID

Response

Phone number successfully assigned to trust profiles

businessProfile
object
shakenStir
object
voiceIntegrity
object
errors
object[]