Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save activeprospect-support/2f77cb9e65401f2b942b to your computer and use it in GitHub Desktop.
Save activeprospect-support/2f77cb9e65401f2b942b to your computer and use it in GitHub Desktop.
How to retrieve information about campaigns
curl -v -X GET https://api.leadconduit.com/campaigns/ABCDEFGHI/fields?api_key=limitedorfullapikey
HTTP/1.1 200 OK
Connection: close
Content-Type: application/json; charset=utf-8
{"count":3,
"items":[{"name":"email",
"label":"What is your email address?",
"description":"The prospect's email address",
"hidden":false,
"primary_key":true,
"required":true,
"pattern":null,
"field_index":0,
"variant":"Email",
"pattern_label":null,
"min_length":3,
"max_length":255,
"max_num_values":1,
"campaign_id":"ABCDEFGHI",
"id":"123456789"},
{...}, {...}]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment