Markit API
Contacts
The Contacts resource allows you to retrieve contacts on your account. The following actions can be performed on this resource:
- Retrieve All Contacts
- Retrieve a Single Contact
Retrieve All Contacts
Retrieves all contacts on your account.
You can include additional parameters in the request as described in the Query Parameters section. For instance, the request below will return contacts with a status of "Subscribed".
Available query parameters:
- limit: 20 (default)
- offset: 0 (default)
- status: ‘Subscribed’, ‘Unsubscribed’, ‘Invalid’, ‘Removed’ (default: 'All')
- createdAt: ‘desc’ | ‘asc’ (default: ‘desc’)
Example Response:
Retrieve a Single Contact
Retrieves a single contact with the contact ID equal to {id}.
Example Response: