POST
/
v1
/
sms
/
campaigns
/
{campaign}
/
senderids
cURL
curl --request POST \
  --url https://api.comm.com/api/v1/sms/campaigns/{campaign}/senderids \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "text": "<string>"
}'
{
  "data": {
    "id": "<string>",
    "sms_campaign_id": "<string>",
    "text": "<string>",
    "is_active": true,
    "created_at": "2023-11-07T05:31:56Z",
    "updated_at": "2023-11-07T05:31:56Z"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

campaign
string<uuid>
required

The campaign ID

Body

application/json

Response

201
application/json

SmsCampaignSenderidResource

The response is of type object.