Logo
Api

User

Retrieve user account information using API key

GET
/api/external/user

Authorization

AuthorizationRequiredBearer <token>

In: header

Response Body

User information successfully retrieved

TypeScript Definitions

Use the response body type in TypeScript.

idstring
emailstring
githubIdstring
githubUsernamestring
apiKeystring
Format: "uuid"
keystrokeTimeoutinteger
curl -X GET "https://ziit.app/api/external/user" \
  -H "Authorization: Bearer <token>"
{
  "id": "string",
  "email": "user@example.com",
  "githubId": "string",
  "githubUsername": "string",
  "apiKey": "43845a17-01cb-476b-8c02-27c26965e86a",
  "keystrokeTimeout": 0
}