Get Multiple Contact

Get Multiple email/contact details by Contact IDs.


Function

  • getContacts()

Url

  • POST: /PuresendService/v1/getContacts

Parameters

  • contactId: long[]
    • Array of contact id that to be retrieved.

Return

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

Exception

  • Exception

Documentation

  • Retrieves email/contact detail Array for the specified contact id Array.

Examples

{
    "contactIds" : [
        123456790470480, 
        123456790470479
    ]
}
[
    {
        "id": 123456790470480,
        "listId": 1234,
        "email": "sample-1@email.com",
        "emailBounced": false,
        "optOut": false,
        "columnValues": [
            "1",
            "2",
            "3",
            "4",
            "5",
            "6",
            "7",
            "8",
            "9",
            "10",
            "11",
            "12",
            "13",
            "14",
            "15",
            "16",
            "17",
            "18",
            "19",
            "20"
        ]
    },
    {
        "id": 123456790470479,
        "listId": 1234,
        "email": "sample-2@email.com",
        "emailBounced": false,
        "optOut": false,
        "columnValues": [
            "1",
            "2",
            "3",
            "4",
            "5",
            "6",
            "7",
            "8",
            "9",
            "10",
            "11",
            "12",
            "13",
            "14",
            "15",
            "16",
            "17",
            "18",
            "19",
            "20"
        ]
    }
]