Gifli API Docs
Api

Get current identity

Returns the authenticated identity. Shape is either a user or an app.

GET
/auth/me

Authorization

BearerAuth
AuthorizationBearer <token>

Pass a user session token (from /auth/login) or an app API key (gk_…).

In: header

Response Body

application/json

application/json

curl -X GET "https://example.com/auth/me"
{  "kind": "user",  "id": "string",  "email": "string",  "createdAt": "2019-08-24T14:15:22Z",  "gifCount": 0,  "isAdmin": true}
{  "error": "string"}