People API: Get me
Endpoint#
Section titled “Endpoint#”| Property | Value |
|---|---|
| Type | query |
| Method | GET |
| Path | /api/external/v1/people/get_me |
| Handler | OperatelyWeb.Api.People.GetMe |
Authentication#
Section titled “Authentication#”- Requires a valid API token.
- Read-only and full-access tokens can execute this query.
| Field | Type | Required | Nullable | Default |
|---|---|---|---|---|
include_manager | boolean | No | No | - |
Outputs#
Section titled “Outputs#”| Field | Type | Required | Nullable |
|---|---|---|---|
me | person object | Yes | No |
cURL Example#
Section titled “cURL Example#”Copied
curl --request GET \
--url "https://app.operately.com/api/external/v1/people/get_me?include_manager=true" \
--header "Authorization: Bearer ${OPERATELY_API_TOKEN}"Response Example#
Section titled “Response Example#”{ "me": { "__typename": "value", "access_level": "<access_options_int>", "avatar_blob_id": "value", "avatar_url": "value", "company": "<company>", "daily_summary_delivery_time": "value", "description": "value", "dismissed_product_release_id": "value", "email": "value", "email_preference": "buffered", "email_window_minutes": "<email_window_minutes>", "full_name": "value", "has_open_invitation": true, "id": "value", "invite_link": "<invite_link>", "language": "en", "manager": "<person>", "notify_about_assignments": true, "notify_on_mention": true, "peers": [ "<person>" ], "permissions": "<person_permissions>", "reports": [ "<person>" ], "send_daily_summary": true, "show_dev_bar": true, "suspended": true, "time_format": "automatic", "timezone": "value", "title": "value", "type": "value", "url": "value" }}