+49 69 83008980 service@xqueue.com
Benötigen Sie Hilfe?

Get Contacts By Email

Sie sind hier:
< Alle Themen
Returns the contacts having the provided email address.

GET https://api.maileon.com/1.0/contacts/emails/:value

 

Attributes

ParameterDefaultDescription
standard_fieldMultivalued parameter to query the value of a standard contact field. If a standard field has no value, it will be returned with nil-type value: <value nil=“true”></value>.
custom_fieldMultivalued parameter to query the value of a custom contact field. If no custom fields are specified, tag <custom_fields/> is returned, if a custom field has no value it will be removed from the answer.
preference_categoriesMultivalued parameter to query the preference values of a contact preference category. If nothing is specified the returned tag <preferences> will be ommitted.

 

Example

GET https://api.maileon.com/1.0/contacts/emails/max.mustermann%40xqueue.com?standard_field=FIRSTNAME&amp;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"?>

<contacts>
  <contact>
    <id>15975220</id>
    <email>max.mustermann@xqueue.com</email>
    <external_id nil="true"></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>

Example of contact with contact preferences

<contacts>
  <contact>
    <id>12345</id>
    <email>max.mustermann@xqueue.com</email>
    <external_id>mustermann-ext-1956</external_id>
    <standard_fields>
      <field>
        <name>FIRSTNAME</name>
        <value>Max</value>
      </field>
      <field>
        <name>LASTNAME</name>
        <value>Mustermann</value>
      </field>
    </standard_fields>
    <custom_fields/>
    <preferences>
      <preference>
        <name>Shopware</name>
        <category>Developer</category>
        <value>true</value>
        <source nil="true"/>
        <last_modified>2021-08-19T15:30:53+0200</last_modified>
      </preference>
      <preference>
        <name>Magento</name>
        <category>Developer</category>
        <value>false</value>
        <source nil="true"/>
        <last_modified>2021-08-19T15:30:53+0200</last_modified>
      </preference>
    </preferences>
  </contact>
</contacts>
Inhaltsverzeichnis

Bleiben Sie Up-to-Date und profitieren Sie von spannenden News und Aktionen.

Maileon ist ein Produkt der XQueue GmbH