V1 Account
Account info (v1)
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
401
Unauthorized
application/json
403
Forbidden / insufficient scope
application/json
500
Internal server error
application/json
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