curl --request POST \
--url https://api.dev.kathan.tech/phone-numbers \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"phone_number": "<string>",
"account_sid": "<string>",
"auth_token": "<string>",
"provider": "twilio",
"label": "<string>"
}
'{
"id": "<string>",
"provider": "<string>",
"phone_number": "<string>",
"status": "<string>",
"label": "<string>",
"created_at": "<string>"
}curl --request POST \
--url https://api.dev.kathan.tech/phone-numbers \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"phone_number": "<string>",
"account_sid": "<string>",
"auth_token": "<string>",
"provider": "twilio",
"label": "<string>"
}
'{
"id": "<string>",
"provider": "<string>",
"phone_number": "<string>",
"status": "<string>",
"label": "<string>",
"created_at": "<string>"
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Twilio phone number in E.164 format, e.g. +16504601060
Twilio Account SID (AC...)
Twilio Auth Token
Telephony provider (future-proof). Currently supports: twilio
Friendly label for this phone number
Was this page helpful?