Stylograph API

What the account can send now

Credits, whether the handwriting and return address are ready, API notes left, printing capacity, the default cover, the formats with prices and limits, and this key. Every refusal a send can answer for the account's state can be read here first. Scope: `account:read`.

GET
/api/v1/account

Credits, whether the handwriting and return address are ready, API notes left, printing capacity, the default cover, the formats with prices and limits, and this key. Every refusal a send can answer for the account's state can be read here first. Scope: account:read.

Authorization

ApiKeyAuth
headerAuthorizationBearer <API key (sg_live_...)>

An API key from Settings.

Response Body

The account.

application/json
  1. response
data*
Example Request
curl -X GET 'https://composer.stylograph.ai/api/v1/account'
Example Response
{  "data": {    "credit_balance": 0,    "team": {      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "name": "string"    },    "organization": {      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "name": "string"    },    "handwriting": {      "ready": true,      "profile_id": "bfcb6779-b1f9-41fc-92d7-88f8bc1d12e8"    },    "return_address_ready": true,    "referral_qr_available": true,    "api_notes": {      "daily_limit": 0,      "used_last_24h": 0,      "remaining": 0,      "next_slot_at": "2019-08-24T14:15:22Z"    },    "vendor_capacity_available": true,    "default_cover_key": "string",    "formats": [      {        "format": "folded",        "name": "string",        "credits": 0,        "message_limit": 0,        "available": true      }    ],    "letters": {      "enabled": true,      "handwriting_ready": true,      "signature_captured": true,      "return_ready": true,      "designs_available": 0    },    "api_key": {      "prefix": "string",      "scopes": [        "account:read"      ],      "expires_at": "2019-08-24T14:15:22Z",      "daily_notes": {        "daily_limit": 0,        "used_last_24h": 0,        "remaining": 0,        "next_slot_at": "2019-08-24T14:15:22Z"      }    }  }}