Definition

Returns a single contact record based on its ID.

REST API URL 

  • Returns a single contact with id=:id - GET https://{{MA2ID}}.prod.kulea.marketing:8089/rest/api/users/:id

Example URL

  • Returns a single contact with id=12345 - GET https://{{MA2ID}}.prod.kulea.marketing:8089/rest/api/users/12345

Headers

  • Authorization (Mandatory String <API-KEY>) - Example: afeWER£4q3

Response (application/json)

Response will be a json object with the following fields:

  • success - if true then request was successful; otherwise failed.
  • reason - only shown if success is false and indicates the reason of failure.
  • total- represent total number of contacts within Kulea (same as count)
  • count - represents the total number of contacts within Kulea
  • users - jsonArray representation of Kulea contact

Example:

{
"success": true,
"total": 1,
"count": 1,
"users": [
{
"id": 4294967667,
            "email": "junaid8@kulea.ma",
"data": {
"forename": "junaid88",
"surname": "bakali88",
"signupdate": "20120103"
},
"archived": false,
"subscribed": true
}
]
}