For the complete documentation index, see llms.txt. This page is also available as Markdown.

V1 Account

Account info (v1)

Get account info

get

Returns basic account and authenticated user details.

Authorizations
AuthorizationstringRequired

Account API key authentication. Pass an API key as a Bearer token in the Authorization header. An account may have multiple named keys; any of them grants full access to all endpoints — equivalent to all OAuth scopes.

Responses
200

Account information

application/json
account_idintegerRequired
account_namestringRequired
user_idintegerRequired
user_emailstringRequired
user_namestringRequired
get/v1/account
GET /v1/account HTTP/1.1
Host: api.spiffy.co
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "account_id": 1,
  "account_name": "text",
  "user_id": 1,
  "user_email": "text",
  "user_name": "text"
}

Last updated