Returns the contacts matching the provided external id value.
1 |
GET https://api.maileon.com/1.0/contacts/externalid/: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 |
GET https://api.maileon.com/1.0/contacts/externalid/foo?standard_field=FIRSTNAME&standard_field=LASTNAME Authorization: Basic XXXXXXXXXXXXXXXXXXXX Accept: application/vnd.maileon.api+xml; charset=utf-8 Status: 200 OK < ?xml version="1.0" encoding="UTF-8"?> <contacts> <contact> <id>15975220</id> <email>max.mustermann@xqueue.com</email> <external_id>foo</external_id> <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> </contacts> |