Skip to main content
POST
/
v1
/
add-contact-to-campaign
Add a contact to a campaign
curl --request POST \
  --url https://openapi.genesy.ai/v1/add-contact-to-campaign \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "campaignId": 123,
  "contactId": 123
}
'
{
  "status": "success",
  "message": "<string>",
  "data": {
    "conversationId": 123,
    "conversationStatus": "<string>",
    "campaignStatus": "<string>"
  }
}

Authorizations

x-api-key
string
header
required

Body

application/json
campaignId
integer
required

ID of the campaign to add the contact to

contactId
integer
required

ID of the contact to add to the campaign

Response

Contact successfully added to campaign

status
enum<string>
required
Available options:
success
message
string
required
data
object
required