People API: Get account
Endpoint#
Section titled “Endpoint#”| Property | Value |
|---|---|
| Type | query |
| Method | GET |
| Path | /api/external/v1/people/get_account |
| Handler | OperatelyWeb.Api.People.GetAccount |
Authentication#
Section titled “Authentication#”- Requires a valid API token.
- Read-only and full-access tokens can execute this query.
This endpoint has no input fields.
Outputs#
Section titled “Outputs#”| Field | Type | Required | Nullable |
|---|---|---|---|
account | account object | Yes | No |
cURL Example#
Section titled “cURL Example#”Copied
curl --request GET \
--url "https://app.operately.com/api/external/v1/people/get_account" \
--header "Authorization: Bearer ${OPERATELY_API_TOKEN}"Response Example#
Section titled “Response Example#”{ "account": { "full_name": "value", "site_admin": true }}