Skip to main content
GET
/
installations
/
whoami
Get current installation info
curl --request GET \
  --url https://api-dev.narrative.io/installations/whoami \
  --header 'Authorization: Bearer <token>'
{
  "id": 12345
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

Successfully retrieved installation information.

Information about the current installation context (from token).

id
integer<int64>
required

The installation ID associated with the current token.

Example:

12345