Skip to content

Search is only available in production builds. Try building and previewing the site to test it out locally.

Get current account

GET/v1/me/Free

Returns information about the account that owns the current Api-Key: account ID, balance, top-up multiplier, assigned roles and the notification threshold.

Api-Key header required.

No parameters, no body.

Terminal window
curl -H "Api-Key: $API_KEY" https://api.telesint.dev/v1/me/
{
"id_": 436307416,
"balance": 109992,
"multiplier": 1,
"roles": [
{
"name": "user",
"description": null,
"scopes": [
{ "name": "read_users", "description": null },
{ "name": "read_groups", "description": null },
{ "name": "search", "description": null }
]
}
],
"notification_threshold": 20
}
Field Type Notes
id_ integer Account ID.
balance integer Available amount in rubles.
multiplier number Top-up multiplier.
roles array of role Assigned roles. Empty by default.
notification_threshold integer | null Low-balance alert threshold. Configured in the bot.
Field Type Notes
name string | null Role identifier.
description string | null Human-readable description.
scopes array of scope Capabilities granted by this role.
Field Type Notes
name string | null Scope identifier.
description string | null Human-readable description.

Common error shapes — see Errors.