DeluxHostAPI Reference
Account profile

Get the authenticated account

GET
/v1/me

The first call to write, and the one to reach for when another endpoint answers 401 or 403: scopes echoes what the presented token actually holds.

Authorization

apiToken account:read
headerAuthorizationBearer <token>

A personal API token: Authorization: Bearer dh_live_…. See Authentication for scopes.

Scope: account:read

Response Body

The account.

application/json
  1. response
id*string

Opaque account id. Do not parse.

email*string
Formatemail
name*string
creditCents*integer

Account credit in cents. Positive means we hold credit for you.

scopes*array<string>

Scopes the presented token holds.

curl -X GET 'https://api.deluxhost.net/v1/me' \  -H "Authorization: Bearer $DELUXHOST_TOKEN"
Example Response
{  "id": "string",  "email": "[email protected]",  "name": "string",  "creditCents": 0,  "scopes": [    "string"  ]}