Returns a page of contacts in the accounts.
1 |
GET https://api.maileon.com/1.0/contacts |
Attributes
Parameter | Default | Description |
---|---|---|
standard_field | Multivalued parameter to query the value of a standard contact field. | |
custom_field | Multivalued parameter to query the value of a custom contact field. | |
page_index | The index of the result page. The index must be greater or equal to 1. | |
page_size | 100 | The maximum count of items in the result page. If provided, the value of page_size must be in the range 1 to 1000. |
updated_after | If set, the call returns contacts only, which were updated after the given datetime. The format must be in SQL format: Y-m-d H:i:s. |
Example
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 |
GET https://api.maileon.com/1.0/contacts?page_index=4&page_size=5 Authorization: Basic XXXXXXXXXXXXXXXXXXXX Accept: application/vnd.maileon.api+xml; charset=utf-8 Status: 200 OK Link: ... Content-Type: application/vnd.maileon.api+xml X-Pages: ... X-Items: ... < ?xml version="1.0" encoding="UTF-8"?> <contacts> <contact> <id>13629786</id> <permission>5</permission> <email>max.musermann@xqueue.com</email> <external_id nil="true"></external_id> <created>2016-06-13 09:14:41.0</created> <updated>2017-10-30 13:20:08.0</updated> <standard_fields></standard_fields> <custom_fields></custom_fields> </contact> ... </contacts> |