Get Contact

Get email/contact details by Contact ID.


Function

  • getContact()

Url

  • POST: /PuresendService/v1/getContact

Parameters

  • contactId: long
    • contact id details that to be retrieved.

Return

  • Contact:
    • Contact object containing details of the email and the field values.

Exception

  • Exception

Documentation

  • Retrieves email/contact details for the specified contact id.

Examples

{
    "contactId": 123456789
}
{
    "id": 123456789,
    "listId": 1234,
    "email": "test@email.com",
    "emailBounced": false,
    "optOut": false,
    "columnValues": [
        "field1",
        "field2",
        "field3",
        null,
        null,
        null,
        null,
        null,
        null,
        null,
        null,
        null,
        null,
        null,
        null,
        null,
        null,
        null,
        null,
        null
    ]
}