Fetch contact IDs

GET {{baseUrl}}/marketing/v3/campaigns/:campaignGuid/reports/contacts/:contactType?startDate=<string>&endDate=<string>&limit=<integer>&after=<string>

Fetch the list of contact IDs for the specified campaign and contact type

Request Params

KeyDatatypeRequiredDescription
startDatestringThe start date for the report data, formatted as YYYY-MM-DD.
Default value: 2006-01-01
endDatestringEnd date for the report data, formatted as YYYY-MM-DD.
Default value: Current date
limitstringLimit for the number of contacts to fetch
Default: 100
afterstringA cursor for pagination. If provided, the results will start after the given cursor.
Example: NTI1Cg%3D%3D

HEADERS

KeyDatatypeRequiredDescription
Acceptstring

RESPONSES

status: OK

{&quot;results&quot;:[{&quot;id&quot;:&quot;\u003cstring\u003e&quot;},{&quot;id&quot;:&quot;\u003cstring\u003e&quot;}],&quot;paging&quot;:{&quot;next&quot;:{&quot;after&quot;:&quot;\u003cstring\u003e&quot;,&quot;link&quot;:&quot;\u003cstring\u003e&quot;}}}