GET
/
v1
/
accounts
/
{accountId}
/
attributes
/
{attributeType}
/
{attributeId}
Fetch account attributes
curl --request GET \
  --url https://api.sakari.io/v1/accounts/{accountId}/attributes/{attributeType}/{attributeId} \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "pagination": {
    "totalCount": 123,
    "limit": 123,
    "offset": 123,
    "hasNext": true
  },
  "data": [
    {
      "id": "<string>",
      "name": "<string>",
      "label": "<string>",
      "type": "contacts",
      "dataType": "text",
      "created": {
        "at": "2023-11-07T05:31:56Z",
        "by": {
          "id": "<string>",
          "name": "Joe Bloggs",
          "firstName": "Joe",
          "lastName": "Bloggs",
          "email": "joe@bloggs.com",
          "source": "<string>",
          "subSource": "<string>"
        }
      },
      "updated": {
        "at": "2023-11-07T05:31:56Z",
        "by": {
          "id": "<string>",
          "name": "Joe Bloggs",
          "firstName": "Joe",
          "lastName": "Bloggs",
          "email": "joe@bloggs.com",
          "source": "<string>",
          "subSource": "<string>"
        }
      }
    }
  ]
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

accountId
string
required

Account to apply operations to

attributeType
enum<string>
required

Type of custom attribute

Available options:
contacts,
deals,
tickets
attributeId
string
required

ID of attribute

Response

200
application/json

successful operation

The response is of type object.