curl --request GET \
--url https://api-dev.narrative.io/installations/whoami \
--header 'Authorization: Bearer <token>'{
"id": 12345
}Returns information about the installation associated with the current authentication token.
This endpoint is useful for apps to identify which installation they are operating under. The token must be associated with an installation (e.g., an app token).
curl --request GET \
--url https://api-dev.narrative.io/installations/whoami \
--header 'Authorization: Bearer <token>'{
"id": 12345
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Successfully retrieved installation information.
Information about the current installation context (from token).
The installation ID associated with the current token.
12345
Was this page helpful?