Get Contact

Get Contact

POST [PlatformAddress]/api/1.0/contact?action=getContact

Get the contact details

Path Parameters

{
    "id": 7427530,
    "firstName": "Test",
    "lastName": "User",
    "email": "user@test.com",
    "phone": "0455550000",
    "status": 1,
    "smsStatus": 1,
    "customFields": [],
    "groups": [
        {
            "contactId": 7427530,
            "groupId": 57138,
            "joinDate": "2018-09-07 02:11:47"
        }
    ],
    "companies": [4, 5, 6],
    "companiesData":[
        {"id":4,"businessName":"Company Name 1"},
        {"id":5,"businessName":"Company Name 3 (Department)"},
        {"id":6,"businessName":"Company Name 2"},
    ],
    "externalId": null,
    "modifiedDate": "2018-09-07 02:11:47 UTC",
    "isAnonymised": false,
    "eventInvitations": [],
    "eventRegistrations": []
}

Example Request

This example request will obtain the details of the contact with the id "6"

{
  "id":6
}

Returns

Status Options - Email Registration Status

The status is the record of whether the contact has opted in to email communication.

Sms status

The sms status is the record of whether the contact has opted in to sms communication.

Custom Fields Keys

Event Invitations

Event Invitations Response values

Event Registrations Details

Event Registration Status (currentStatus)

Guest Details

Invoice Details

Invoice current status

The result from this call will be a collection of all the events the user has access to. This call also accepts the pagination and filter properties.

External URL Field

An External URL field is an object with the following details.

Throws

The contact identifier must be provided to fetch a specific contact from the system.

Last updated