curl --request POST \
--url https://api.comm.com/api/v1/sms/campaigns/{campaign}/texts \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"created_at": "<string>",
"updated_at": "<string>",
"meta": {
"instruction": "<string>",
"max_times_used": 123,
"texts_in_rotation": 123
},
"text": "<string>",
"type": "manual",
"is_active": true
}'
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"created_at": "<string>",
"updated_at": "<string>",
"meta": {
"instruction": "<string>",
"max_times_used": 123,
"texts_in_rotation": 123
},
"text": "<string>",
"type": "manual",
"is_active": true
}
curl --request POST \
--url https://api.comm.com/api/v1/sms/campaigns/{campaign}/texts \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"created_at": "<string>",
"updated_at": "<string>",
"meta": {
"instruction": "<string>",
"max_times_used": 123,
"texts_in_rotation": 123
},
"text": "<string>",
"type": "manual",
"is_active": true
}'
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"created_at": "<string>",
"updated_at": "<string>",
"meta": {
"instruction": "<string>",
"max_times_used": 123,
"texts_in_rotation": 123
},
"text": "<string>",
"type": "manual",
"is_active": true
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
The campaign ID
SmsCampaignTextDataRequest
The body is of type object
.
The response is of type object
.