Skip to main content
POST
/
okapicrm.v1.OkapiCRMService
/
ListRecords
cURL
curl --request POST \
  --url https://api.okapicrm.com/okapicrm.v1.OkapiCRMService/ListRecords \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "objectApiName": "<string>",
  "objectId": "<string>",
  "pageToken": "<string>",
  "sortBy": "<string>",
  "sortDirection": "<string>"
}
'
{
  "nextPageToken": "<string>",
  "records": [
    {
      "archived": true,
      "createTime": {},
      "createdBy": {
        "apiKeyId": "<string>",
        "builtinIntegration": [
          "BUILTIN_INTEGRATION_UNSPECIFIED",
          "BUILTIN_INTEGRATION_GMAIL_V1",
          "BUILTIN_INTEGRATION_OUTLOOK_V1",
          "BUILTIN_INTEGRATION_LINKEDIN_V1"
        ],
        "userId": "<string>"
      },
      "deleted": true,
      "fields": {},
      "formulaErrors": {},
      "id": "<string>",
      "objectApiName": "<string>",
      "objectId": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

objectApiName
string
objectId
string
pageToken
string
sortBy
string
sortDirection
string

Response

nextPageToken
string
records
Record · object[]