Skip to content
View as Markdown

POST Apply Tag Actions to SMS Campaign Recipients​

POST
/sms/campaigns/{id}/tag-actions

Add or remove tags for recipients of an archived SMS campaign. Processes recipients in batches (default 50 per page). Filter recipients by activity type (all recipients, sent, failed, delivered). Only subscribed contacts are affected. PRO (requires FluentCampaign Pro SMS module).

Required capability: fcrm_read_emails

Route exists only while the SMS module is enabled; the policy returns false otherwise.

Enforced by SMSPolicy::verifyRequest(), the policy default for this route group.

Requires: FluentCampaign Pro with the SMS module enabled. While SMS is switched off the route is not registered at all and returns a 404.

Authorizations​

ApplicationPasswords

WordPress Application Passwords — use Basic auth with your WordPress username and an application password in the format: username:application_password

Type
API Key (header: Authorization)

Parameters​

Path Parameters

id*

SMS campaign ID. Must be in archived status.

Type
integer
Required

Request Body​

application/json
JSON
{
"action_type": "string",
"tags": [
0
],
"activity_type": "string",
"processing_page": 0
}

Responses​

Batch processing result.

application/json
JSON
{
"processed_page": 0,
"processed_contacts": 0,
"has_more": true,
"total_count": 0
}

Playground​

Authorization
Variables
Key
Value
Body

Samples​

Powered by VitePress OpenAPI