Skip to main content
POST
/
campaigns
/
{id}
/
import-csv
Start async CSV import for campaign recipients
curl --request POST \
  --url https://{appId}.api-{region}.cometchat.io/v3/campaigns/campaigns/{id}/import-csv \
  --header 'Content-Type: application/json' \
  --header 'apikey: <api-key>' \
  --header 'appid: <appid>' \
  --data '
{
  "s3Key": "<string>"
}
'

Documentation Index

Fetch the complete documentation index at: https://www.cometchat.com/docs/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

apikey
string
header
required

Your CometChat REST API Key.

Headers

appid
string
required

Tenant application ID

Path Parameters

id
string
required

Body

application/json
s3Key
string
required

S3 object key of the uploaded CSV file

Response

Import job created