Skip to content

Create a campaign

You can create a campaign in the dashboard or through the API. Both routes use the same fields.

Field Type Notes
name string Required. Maximum 255 characters.
description string Maximum 2000 characters.
enabled boolean Whether the campaign accepts leads. Defaults to false.
routing_strategy string highest_bid or priority. See Routing and eligibility.
schema array Up to 100 field definitions. See Lead schema.
provider_ids array of strings Providers assigned to the campaign. For priority routing the order is the priority. See Assigning providers.
  1. Open Campaigns and choose Create campaign.
  2. Enter a name and, optionally, a description.
  3. Choose a routing strategy.
  4. Add the fields you want Pingdex to validate. Leave the schema empty if you want to accept any JSON object.
  5. Select the providers to assign. For priority routing, put them in priority order.
  6. Leave Enabled off while you review, then turn it on when you are ready to accept leads.
  7. Save the campaign.
  1. Check that every assigned provider is enabled and compatible with the routing strategy.
  2. Enable the campaign if you created it disabled.
  3. Submit a test lead. See Submit a lead.