Skip to Content
API referenceCampaigns

Add Contacts From Lists

POST
/api/v1/campaigns/{campaign_id}/contacts/from-lists

Add contacts from lists to a campaign

Required scope: campaigns:write

Authorization

headerAuthorizationBearer <luso8_sk_live_<40 characters>>

A workspace API key, sent as Authorization: Bearer <key>. Create keys in Settings → Developers → API keys.

Path Parameters

campaign_id*Campaign Id

Request Body

application/json
  1. body

Request to add contacts from lists

list_ids*array<string>
exclude_contact_ids?array<string>|null

Response Body

Successful Response

application/json
  1. response

Response for campaign actions

success*Success
message*Message
campaign_id*Campaign Id
affected_contacts?Affected Contacts
Default0
not_found?Not Found
Default0
already_enrolled?Already Enrolled
Default0
Example Request
curl -X POST 'https://api.luso8.rexplore.ai/api/v1/campaigns/string/contacts/from-lists' \  -H 'Content-Type: application/json' \  -d '{  "list_ids": [    "string"  ]}'
Example Response
{  "success": true,  "message": "string",  "campaign_id": "string",  "affected_contacts": 0,  "not_found": 0,  "already_enrolled": 0}