Skip to main content
POST
/
platforms
/
whatsapp
/
phone-numbers
/
{id}
/
verify-code
Verify a phone number with a code
curl --request POST \
  --url https://api.social-api.ai/v1/platforms/whatsapp/phone-numbers/{id}/verify-code \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "code": "123456"
}
'
{
  "error": {
    "code": "resource.not_found",
    "message": "Account not found",
    "meta": {}
  }
}

Authorizations

Authorization
string
header
required

Prefix your API key with "Bearer ". Example: Authorization: Bearer sapi_key_...

Path Parameters

id
string
required

Connected account ID (sapi_acc_...)

Body

application/json

Verification code

code
string

Code is the 6-digit verification code received via SMS or voice.

Example:

"123456"

Response

Phone number verified