API reference: Identities
On this page
- GET /v1/companies/{companyId}/blocks
- POST /v1/companies/{companyId}/blocks/{blockId}/lift
- GET /v1/companies/{companyId}/identities
- GET /v1/companies/{companyId}/identities/lookup
- DELETE /v1/companies/{companyId}/identities/{identityId}
- GET /v1/companies/{companyId}/identities/{identityId}
- PATCH /v1/companies/{companyId}/identities/{identityId}/attributes
- PUT /v1/companies/{companyId}/identities/{identityId}/attributes
- DELETE /v1/companies/{companyId}/identities/{identityId}/meta
- GET /v1/companies/{companyId}/identities/{identityId}/meta
- DELETE /v1/companies/{companyId}/identities/{identityId}/threads
- GET /v1/companies/{companyId}/identities/{identityId}/tools/browse
- GET /v1/companies/{companyId}/identities/{identityId}/tools/check/{resourceId}
- GET /v1/companies/{companyId}/identities/{identityId}/tools/search
- GET /v1/companies/{companyId}/identities/{identityId}/tools/summary/{resourceId}
- Types
GET /v1/companies/{companyId}/blocks
| Parameter | In | Type | Required | Notes |
|---|---|---|---|---|
companyId |
path | string (uuid) | yes | |
active |
query | boolean |
Answers 200 with list of Block.
POST /v1/companies/{companyId}/blocks/{blockId}/lift
| Parameter | In | Type | Required | Notes |
|---|---|---|---|---|
companyId |
path | string (uuid) | yes | |
blockId |
path | string (uuid) | yes |
Answers 200 with Block.
GET /v1/companies/{companyId}/identities
| Parameter | In | Type | Required | Notes |
|---|---|---|---|---|
companyId |
path | string (uuid) | yes | |
page |
query | integer (int32) | ||
size |
query | integer (int32) | ||
q |
query | string |
Answers 200 with PageResponseIdentityResponse.
GET /v1/companies/{companyId}/identities/lookup
| Parameter | In | Type | Required | Notes |
|---|---|---|---|---|
companyId |
path | string (uuid) | yes | |
channel |
query | API | TELEGRAM | EMAIL | WIDGET |
yes | |
externalId |
query | string | yes |
Answers 200 with IdentityResponse.
DELETE /v1/companies/{companyId}/identities/{identityId}
| Parameter | In | Type | Required | Notes |
|---|---|---|---|---|
companyId |
path | string (uuid) | yes | |
identityId |
path | string (uuid) | yes |
Answers 204.
GET /v1/companies/{companyId}/identities/{identityId}
| Parameter | In | Type | Required | Notes |
|---|---|---|---|---|
companyId |
path | string (uuid) | yes | |
identityId |
path | string (uuid) | yes |
Answers 200 with IdentityResponse.
PATCH /v1/companies/{companyId}/identities/{identityId}/attributes
| Parameter | In | Type | Required | Notes |
|---|---|---|---|---|
companyId |
path | string (uuid) | yes | |
identityId |
path | string (uuid) | yes |
Body (application/json): object
Answers 200 with IdentityResponse.
PUT /v1/companies/{companyId}/identities/{identityId}/attributes
| Parameter | In | Type | Required | Notes |
|---|---|---|---|---|
companyId |
path | string (uuid) | yes | |
identityId |
path | string (uuid) | yes |
Body (application/json): object
Answers 200 with IdentityResponse.
DELETE /v1/companies/{companyId}/identities/{identityId}/meta
| Parameter | In | Type | Required | Notes |
|---|---|---|---|---|
companyId |
path | string (uuid) | yes | |
identityId |
path | string (uuid) | yes |
Answers 204.
GET /v1/companies/{companyId}/identities/{identityId}/meta
| Parameter | In | Type | Required | Notes |
|---|---|---|---|---|
companyId |
path | string (uuid) | yes | |
identityId |
path | string (uuid) | yes |
Answers 200 with MetaView.
DELETE /v1/companies/{companyId}/identities/{identityId}/threads
| Parameter | In | Type | Required | Notes |
|---|---|---|---|---|
companyId |
path | string (uuid) | yes | |
identityId |
path | string (uuid) | yes |
Answers 200 with ClearedResponse.
GET /v1/companies/{companyId}/identities/{identityId}/tools/browse
| Parameter | In | Type | Required | Notes |
|---|---|---|---|---|
companyId |
path | string (uuid) | yes | |
identityId |
path | string (uuid) | yes | |
nodeId |
query | string (uuid) |
Answers 200 with list of ResourceCard.
GET /v1/companies/{companyId}/identities/{identityId}/tools/check/{resourceId}
| Parameter | In | Type | Required | Notes |
|---|---|---|---|---|
companyId |
path | string (uuid) | yes | |
identityId |
path | string (uuid) | yes | |
resourceId |
path | string (uuid) | yes | |
permission |
query | READ | WRITE | DELETE |
||
methodId |
query | string (uuid) |
Answers 200 with object.
GET /v1/companies/{companyId}/identities/{identityId}/tools/search
| Parameter | In | Type | Required | Notes |
|---|---|---|---|---|
companyId |
path | string (uuid) | yes | |
identityId |
path | string (uuid) | yes | |
q |
query | string | yes |
Answers 200 with list of ResourceCard.
GET /v1/companies/{companyId}/identities/{identityId}/tools/summary/{resourceId}
| Parameter | In | Type | Required | Notes |
|---|---|---|---|---|
companyId |
path | string (uuid) | yes | |
identityId |
path | string (uuid) | yes | |
resourceId |
path | string (uuid) | yes |
Answers 200 with ResourceDetail.
Types
Block
| Field | Type | Required | Notes |
|---|---|---|---|
id |
string (uuid) | yes | |
identityId |
string (uuid) | yes | |
startedAt |
string (date-time) | yes | |
endsAt |
string (date-time) | yes | |
lowScores |
integer (int32) | yes | |
liftedAt |
string (date-time) | ||
liftedBy |
string |
PageResponseIdentityResponse
| Field | Type | Required | Notes |
|---|---|---|---|
items |
list of IdentityResponse | yes | |
page |
integer (int32) | yes | |
size |
integer (int32) | yes | |
totalItems |
integer (int64) | yes | |
totalPages |
integer (int32) | yes |
IdentityResponse
| Field | Type | Required | Notes |
|---|---|---|---|
id |
string (uuid) | yes | |
status |
ACTIVE | MIGRATED |
yes | |
mergedInto |
string (uuid) | ||
channels |
list of IdentityChannelResponse | yes | |
attributes |
object | yes | |
createdAt |
string (date-time) | yes | |
updatedAt |
string (date-time) | yes |
MetaView
| Field | Type | Required | Notes |
|---|---|---|---|
identityId |
string (uuid) | yes | |
meta |
string | ||
updatedAt |
string (date-time) |
ClearedResponse
| Field | Type | Required | Notes |
|---|---|---|---|
deleted |
integer (int32) | yes |
ResourceCard
| Field | Type | Required | Notes |
|---|---|---|---|
id |
string (uuid) | yes | |
name |
string | yes | |
kind |
string | yes | |
summary |
string | ||
hasChildren |
boolean | yes | |
access |
ALLOWED | DENIED | NOT_DECIDED | NEEDS_VERIFICATION |
yes |
ResourceDetail
| Field | Type | Required | Notes |
|---|---|---|---|
card |
ResourceCard | yes | |
fullSummary |
string | ||
methods |
list of MethodCard | yes |
IdentityChannelResponse
| Field | Type | Required | Notes |
|---|---|---|---|
channel |
API | TELEGRAM | EMAIL | WIDGET |
yes | |
externalId |
string | yes | |
createdAt |
string (date-time) | yes | |
displayName |
string | ||
username |
string |
MethodCard
| Field | Type | Required | Notes |
|---|---|---|---|
id |
string (uuid) | yes | |
name |
string | yes | |
summary |
string | yes | |
permission |
string | yes | |
params |
list of MethodParam | yes | |
outputSummary |
string |