Base URL
https://tinypostcard.com
Authentication
Create an API key from Integrations, then pass it on every request:
curl -X GET "https://tinypostcard.com/api/v1/me" \
-H "Authorization: Bearer tpc_live_xxx"You can also use x-api-key: tpc_live_xxx.
Core workflow
- Create account and buy tokens on Billing.
- Generate an API key on Integrations.
- Search or fetch templates.
- Render HTML from templates (or provide your own HTML).
- Send postcards with
frontHtmlandbackHtml.
Endpoint groups
Identity and billing
GET /api/v1/meGET /api/v1/balanceGET /api/v1/token-packs
Templates
GET /api/v1/templatesGET /api/v1/templates/{templateId}GET /api/v1/templates/{templateId}/html
Postcards
POST /api/v1/postcards/send
Admin (admin API key only)
GET /api/v1/admin/token-packsGET /api/v1/admin/usersGET /api/v1/admin/users/{userId}/token-balance
Next steps
- Start with API Overview
- Review Postcards endpoint
- Install the tinypostcard skill
Last updated on