Browse the API reference

Campaigns

Add contacts to a campaign

View as Markdown
posthttps://www.getrevox.com/api/campaigns/{id}/rows

Append contacts to an existing campaign. Each new contact is materialized as a call in the not_launched status — nothing is dialed until POST /campaigns/:id/launch-calls sends it. Contacts whose phone number is already in the campaign are skipped.

Path parameters

  • idstringrequired

Request body

  • contactsarray of objectrequired
    Show 2 fields
    • to_phone_numberstringrequired
    • prompt_variablesanyrequired

      Default {}

Responses

200Success
  • campaignCampaignrequired
  • addednumberrequired
400Invalid request: the body or a parameter failed validation
  • messagestring
  • errorstring
  • bodyErrorsobject

    The validation errors returned from the API.

    Show 1 field
    • issuesarray of objectrequired
      Show 3 fields
      • patharray of one ofrequired
        Show 2 variants
        1. One ofstringstring

        2. One ofnumbernumber

      • messagestringrequired
      • codestring
404Not found in your organization
  • errorstringrequired