Api referenceSms
Purchase Phone Number
Authorization
apiKey X-API-Key<token>
API key for authentication
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X POST "https://samva.app/api/v1/sms/phone-numbers" \ -H "Content-Type: application/json" \ -d '{ "phoneNumber": "string" }'{
"id": "string",
"phoneNumber": "string",
"friendlyName": "string",
"capabilities": {
"sms": true,
"mms": true,
"voice": true
},
"numberType": "local",
"country": "string",
"isDefault": true,
"status": "string"
}