go
Gosuslugi (Госуслуги) is Russia's federal e-government services portal. The ESIA (Единая Система Идентификации и Аутентификации) OAuth 2.0 integration allows authorized services to retrieve verified personal information about citizens who have granted consent.
With the Gosuslugi integration in AACFlow, you can:
- Get user info: Retrieve verified citizen data (name, date of birth, SNILS, INN, passport details) from ESIA
This integration enables identity verification and pre-filling of forms with government-verified data for authorized Russian digital services.
Usage Instructions
Integrate Gosuslugi ESIA into the workflow. Requires an OAuth 2.0 Bearer token obtained via the ESIA PKCE flow. Access to ESIA is granted to organizations by Министерство цифрового развития — see digital.gov.ru for the registration process.
Tools
gosuslugi_get_user_info
Retrieve verified user information from ESIA
Input
| Parameter | Type | Required | Description |
|---|---|---|---|
accessToken | string | Yes | ESIA OAuth 2.0 Bearer token |
oid | string | No | ESIA object identifier (user OID) |
Output
| Parameter | Type | Description |
|---|---|---|
firstName | string | Verified first name |
lastName | string | Verified last name |
middleName | string | Patronymic |
birthDate | string | Date of birth |
snils | string | SNILS number |
inn | string | INN number |
success | boolean | Whether the request succeeded |
Links
- Official API: https://digital.gov.ru/ru/documents/6186/
- AACFlow block source: apps/aacflow/blocks/blocks/gosuslugi.ts

