curl --request POST \
--url https://api.comm.com/api/management/live-phones \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"phone_number": "<string>",
"country_id": 123,
"network_brand_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}'
{
"data": {
"id": "<string>",
"phone_number": 123,
"country_id": 123,
"network_id": 123,
"is_active": true,
"last_used_at": "<string>",
"used_count": 123,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"deleted_at": "2023-11-07T05:31:56Z",
"network_brand_id": "<string>",
"email": "<string>"
}
}
curl --request POST \
--url https://api.comm.com/api/management/live-phones \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"phone_number": "<string>",
"country_id": 123,
"network_brand_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}'
{
"data": {
"id": "<string>",
"phone_number": 123,
"country_id": 123,
"network_id": 123,
"is_active": true,
"last_used_at": "<string>",
"used_count": 123,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"deleted_at": "2023-11-07T05:31:56Z",
"network_brand_id": "<string>",
"email": "<string>"
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
LivePhoneResource
The response is of type object
.