cURL
curl --request PUT \ --url https://api.comm.com/api/v1/sms/campaigns/{campaign}/senderids/{senderid} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "text": "<string>", "is_active": true }'
{ "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" } }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The campaign ID
The senderid ID
SmsCampaignSenderidResource
The response is of type object.
object