Get started
Quickstart
Create your first ticket and send your first email in under a minute.
1. Create an API key
Go to Settings > Developers and create a new API key. Copy the value once -- it is shown only at creation time. Pick at least the write permission to be able to create tickets and send emails.
2. Create a ticket
terminal
Bash
UTF-8 · LF · Bashtickos.dev
subject, message and customer_email (or customer_id) are required. If the customer does not exist yet, it is created automatically from customer_email and customer_name. Without inbox_id, the ticket goes to the oldest active inbox of the workspace. The response (201) contains the ticket, its first message and any attachments:
response.json
JSON
UTF-8 · LF · JSONtickos.dev
3. Send a transactional email
terminal
Bash
UTF-8 · LF · Bashtickos.dev
The email is queued and the API answers 202 Accepted with its id. Use GET /v1/emails/{id} to follow its delivery status.
response.json
JSON
UTF-8 · LF · JSONtickos.dev
The from address must belong to a domain connected and verified for outbound email in your workspace. Set one up in Settings > Domains before your first send; otherwise the API answers 400.