OpenApiTokenInfoDTO
Everything about the calling token, returned by GET /v1/open-api/token/info.
application object
The Open API application the token was issued from.
Application ID
4Application name
Telegram bot integrationApplication type.
Possible values: [PRIVATE, PUBLIC]
Free-text description of the application; null when not set.
Creates leads from Telegramcompany object
The company the token belongs to.
Company ID
12Company name
Golden HouseIANA time zone of the company; null when it is not configured. Render *Timestamp
values (epoch seconds) in this zone.
Asia/TashkentThis token's connection (installation) ID — same value as installation_id in POST /oauth/token's response.
501Credential kind.
Possible values: [PAT, ACCESS]
Expiry, epoch seconds. Null means the token never expires and dies only when revoked.
1767225600Whole days left until expiry; null when expiresAt is null.
128permissions object[]
Permissions granted to this token in this company, sorted by permission then scope.
An endpoint requiring PERMISSION_OPEN_API_CONTRACT:READ is callable when this array
contains that pair.
The resource the grant applies to.
Possible values: [PERMISSION_OPEN_API_LEAD, PERMISSION_OPEN_API_LEAD_NOTE, PERMISSION_OPEN_API_LEAD_TASK, PERMISSION_OPEN_API_CONTRACT, PERMISSION_OPEN_API_CONTRACT_PAYMENT, PERMISSION_OPEN_API_BOOKING, PERMISSION_OPEN_API_CALL, PERMISSION_OPEN_API_MCP]
The action allowed on that resource.
Possible values: [READ, SAVE, DELETE]
webhook object
The application's webhook status.
Whether the application has a webhook configuration and it is enabled.
trueEvents the application is subscribed to. Empty when enabled is false or no
webhook configuration exists at all.
Possible values: [LEAD_CREATED, LEAD_ASSIGNED, LEAD_STAGE_CHANGED, LEAD_MERGED, LEAD_DELETED, LEAD_PROPERTIES_UPDATED, CALL_COMPLETED]
{
"application": {
"id": 4,
"name": "Telegram bot integration",
"type": "PRIVATE",
"description": "Creates leads from Telegram"
},
"company": {
"id": 12,
"name": "Golden House",
"timeZone": "Asia/Tashkent"
},
"installationId": 501,
"kind": "PAT",
"expiresAt": 1767225600,
"expiresInDays": 128,
"permissions": [
{
"permission": "PERMISSION_OPEN_API_LEAD",
"scope": "READ"
}
],
"webhook": {
"enabled": true,
"events": [
"LEAD_CREATED"
]
}
}