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`.
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.
ApiKeyAuthAuthorizationBearer <API key (sg_live_...)>An API key from Settings.
The account.
application/json- response
data*curl -X GET 'https://composer.stylograph.ai/api/v1/account'{ "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" } } }}Permanently delete a mailed note's content DELETE
Scope: `notes:send`. PERMANENTLY deletes the content of one of your notes: its message, the recipient's name and address, and the drawing files. Nothing brings it back. The note keeps its id, status, dates and credits, and answers `content_purged: true`, with the recipient's names `null`. Works on a note that is mailed, delivered, returned, failed or cancelled; a repeat answers 200 with the note as it stands. A note still queued or printed answers 409 `NOTE_CONTENT_STILL_NEEDED`, because the printer needs it: cancel a queued note instead. Accounts with a retention setting have this done automatically some days after mailing. Someone else's note, a draft and an unknown id all answer 404.
One note, with its history and delivery estimate GET
Scope: `notes:read`. Someone else's note and an unknown id both answer 404.