API referenceCampaigns
Add Contacts From Lists
POST
Add contacts from lists to a campaign
Required scope: campaigns:write
header
AuthorizationBearer <luso8_sk_live_<40 characters>>A workspace API key, sent as Authorization: Bearer <key>. Create keys in Settings → Developers → API keys.
campaign_id*Campaign Idapplication/json- body
Request to add contacts from lists
list_ids*array<string>exclude_contact_ids?array<string>|nullSuccessful Response
application/json- response
Response for campaign actions
success*Successmessage*Messagecampaign_id*Campaign Idaffected_contacts?Affected ContactsDefault
0not_found?Not FoundDefault
0already_enrolled?Already EnrolledDefault
0curl -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}