channel_id out and it goes through the Arowana test sender to your own address — free. So you can make the first call right after step 1, and do step 2 before you send to anyone else.
In the app, Settings → API & webhooks shows the same three steps with where you stand, and a ready command with your base URL, your own address and — once your sender is ready — your channel ID filled in. This page walks the same steps, in the same order, with the same command.
1. Create a key
In the app, open Settings → API & webhooks and choose Create key with the ready-made set Send messages (messages:send, messages:read, campaigns:read). People with the role Manage create keys.
The key is shown once. Keep it in your integration’s secret settings — and for this first call in an environment variable, so it never ends up in a command you share:
2. Get your sender ready
Optional for the first call. Without a sender, your first email goes to yourself through the Arowana test sender (step 3). To send to anyone else, you need this step.
ch_…). You also find it at the end of the channel’s Settings (Channel ID for the API), or through the API:
channel_id answers 403 forbidden with channel_status — and a hint that says what is missing.
3. Make the first call
The same command as in the app. Put your own address in — the address you sign in to Arowana with (the app fills it in for you). It has nochannel_id: before your sender is ready, that is the test to yourself.
tois you. Withoutchannel_id, the API sends only to the Arowana account address of the person who created the key — any other address is refused with403 test_recipient_not_own_address(“verify your domain first”). Use a key you created yourself.- The Arowana test sender sends it: from “Your workspace via Arowana”, with
[Test]in front of the subject and one line under it saying it went only to you. It is free and doesn’t use your free emails. Limits: 10 tests an hour per person, 30 a day per workspace — together with the tests you send from the app. MESSAGEis a transactional email: it needs no marketing consent.Idempotency-Keynames the operation — “my first email”. Sent again with the same key and body, the request answers with the first result and never sends twice; a new email needs a new key. For real sends, use one key per logical operation, such asbooking-confirmation-BK-10427(Conventions → Idempotency).- Your base URL is the one the app shows next to the command (
https://api.arowana.app/v1here).
status: sent and test: true. It is not a message of the workspace: it has no message_id, no webhook events, and doesn’t appear in GET /v1/messages (abridged):
Once your sender is ready
Add your channel’s ID — the app’s command then carries it — and send to anyone, like this booking confirmation’s recipient:status: queued with what the message costs — 0 while the free emails last (abridged):
billing.tier — see Send response. Like any recipient, the address becomes a contact of the workspace. With a sender ready, a send without channel_id is refused (400 validation_error on channel_id): the test to yourself is for before that.
Done when the app shows First call made: the first call through the API that went out — a test to yourself, or a send that was accepted (not refused, not revoked).
If it doesn’t work
Every error answer has a stableerror code and a message; where it helps, it also carries a hint (what to do, in one sentence) and a docs_url. Branch on error — hint is for people, like message.
A
4xx answer changed nothing: fix the cause and retry with the same Idempotency-Key. All codes: Error codes.
Next
- Email quickstart — a booking confirmation, in curl and Node.js
- Webhooks quickstart — hear about deliveries, bounces and unsubscribes
- Authentication — every permission a key can have