Skip to content

Instantly share code, notes, and snippets.

@activeprospect-support
Last active August 29, 2015 14:07
Show Gist options
  • Save activeprospect-support/7d96ae3f9f32421db5d4 to your computer and use it in GitHub Desktop.
Save activeprospect-support/7d96ae3f9f32421db5d4 to your computer and use it in GitHub Desktop.
LC - How to retrieve information about campaign fields
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