Returns the contacts having the provided email address or 404, if not found.
1 |
GET https://api.maileon.com/1.0/contacts/email/:value |
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. |
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 26 27 28 |
GET https://api.maileon.com/1.0/contacts/email/max.mustermann%40xqueue.com?standard_field=FIRSTNAME&standard_field=LASTNAME Basic: XXXXXXXXXXXXXX Accept: application/vnd.maileon.api+xml; charset=utf-8 Status: 200 OK Content-Type: application/vnd.maileon.api+xml < ?xml version="1.0" encoding="UTF-8"?> <contact> <id>15975220</id> <email>max.mustermann@xqueue.com</email> <external_id nil="true"></external_id> <created>2015-08-04 13:12:46.0</created> <updated>2018-07-12 10:00:00.0</updated> <permission>4</permission> <standard_fields> <field> <name>FIRSTNAME</name> <value>Max</value> </field> <field> <name>LASTNAME</name> <value>Mustermann</value> </field> </standard_fields> <custom_fields></custom_fields> </contact> |