POST /api/campaigns/{id}/recipients
Add one or more recipients to a campaign by providing an array of user IDs. Recipients can only be added while the campaign is in draft status.
Headers
Your CometChat App ID.
Your CometChat API Key.
Path parameters
The campaign ID.
Request body
Array of user IDs to add as recipients.
Example request
Example response
Response fields
Number of recipients added in this request.
Total number of recipients in the campaign after this addition.