Every resource in the Arowana API has a unique identifier. This page explains each ID type: what format it takes, where you receive it, and which request fields to pass it into.
Shortened placeholders in example IDs. Some docs pages use values like msg_a1b2c3d4 or cr_a1b2c3 where the real suffix would be a full UUID (msg_550e8400e29b...). The prefixes themselves (msg_, c_, cr_, ag_, tpl_, evt_) are real and stable — only the suffix portion is abbreviated for readability. The table below shows canonical formats.
Send responses vs message log responses use different field names for the message identifier: The value is the same — only the field name differs between send responses (message_id) and log objects (id).

Quick reference


Contact ID

Format: c_ prefix — c_550e8400e29b41d4a716446655440000 Contact IDs use a c_ prefix followed by a UUID. You receive a contact ID in the response to POST /v1/contacts. POST /v1/contacts/import returns only the number of imported contacts — read their IDs with GET /v1/contacts. Used in:
  • GET /v1/contacts/{id} — fetch a contact
  • PATCH /v1/contacts/{id} — update a contact
  • DELETE /v1/contacts/{id} — delete a contact
  • GET /v1/contacts/{id}/consent — read consent records
  • POST /v1/contacts/{id}/consent — set consent
  • Message logs — the contact_id field on every message record
How to get it: Call POST /v1/contacts and read id from the response. To find an existing contact, call GET /v1/contacts with email, phone or external_id (e.g. your CRM user ID) as a query parameter.

Message ID

Format: msg_ prefix — msg_a1b2c3d4 Every outbound send or inbound message receives a unique message ID. Used in:
  • GET /v1/messages/{id} — fetch full message detail and delivery timeline
  • DELETE /v1/messages/{id} — revoke a queued message
  • Webhook payloads — data.message_id on all message.* events
How to get it: Call POST /v1/messages and read message_id from the response (GET /v1/messages and GET /v1/messages/{id} call the same value id). Also available in GET /v1/messages list results. Sandbox test messages (POST /v1/test/messages) have no message ID: they are sent from Arowana’s Test Agent and can’t be read through GET /v1/messages.

RCS Agent ID

Format: ag_draft_ prefix — ag_draft_550e8400e29b41d4a716446655440003 Arowana’s ID of an RCS agent in your workspace. Every agent created through the API or the dashboard gets an ag_draft_ ID, and it never changes — it stays the same after Arowana approved the agent and the networks launched it. The part after the prefix is the agent’s channel UUID (the same UUID as its channel_id).
Don’t read anything into the prefix. Whether an agent can send is in status (APPROVED) and launched of GET /v1/rcs/agents/{id}; what it can do is in features. The API also accepts the prefix ag_live_ for the same UUID, but no agent is created with it today.
The agent_id is Arowana’s identifier, not an ID at Google or a network. One agent belongs to exactly one workspace; a brand that sends from two workspaces has two agents, each with its own review and launch. Used in:
  • GET /v1/rcs/agents/{id}, PATCH /v1/rcs/agents/{id} — agent details and profile
  • POST /v1/rcs/agents/{id}/submit, …/withdraw, …/archive — review and lifecycle (withdraw and archive)
  • GET /v1/rcs/agents/{id}/launch — each network’s launch state
  • POST /v1/messages — the agent_id body field on every RCS send
  • GET /v1/rcs/capabilities, POST /v1/rcs/capabilities:batch — agent_id of an agent with capability_check in features (capabilities)
  • Webhook payloads — data.agent_id on agent.* events (also agent.launch_updated) and on message.queued, message.delivered, message.failed and message.revoked; data.to on a message.received event with channel: "rcs"
How to get it: Call POST /v1/rcs/agents and read agent_id from the response. For an agent that already exists — also one created in the dashboard — call GET /v1/channels: every RCS channel is listed with its agent_id. In the dashboard, the channel’s Settings show it next to the channel ID.

The Test Agent’s ID

The RCS sandbox sends through Arowana’s Test Agent, which belongs to Arowana’s own workspace, not yours. Its agent_id is returned by POST /v1/test/verify and GET /v1/test/status (once your test number is verified). POST /v1/test/messages accepts it as agent_id, or no agent_id at all; any other agent ID is refused there, and the Test Agent’s ID is refused by POST /v1/messages and the agent routes (it is not an agent of your workspace).
Format: cr_ prefix — cr_a1b2c3 Each consent record is scoped to one contact + channel type + message type combination. Used in:
  • DELETE /v1/contacts/{id}/consent/{record_id} — revoke a specific consent record
How to get it: Call GET /v1/contacts/{id}/consent or POST /v1/contacts/{id}/consent and read id from the consent record. Also returned inline in GET /v1/contacts/{id} inside consent_records[].

Channel ID

Format: ch_ prefix — ch_550e8400e29b41d4a716446655440003 Channels are configured in the dashboard. Each channel represents a verified sender identity for one transport (Email, RCS, or SMS). RCS: agent_id on sends, channel_id in logs RCS has two related but distinct concepts: When you send an RCS message you pass agent_id. The platform internally maps the agent to a workspace channel and records the send against that channel. Message history endpoints expose channel_id (not agent_id) in their response objects because the log schema is uniform across all channel types (Email, RCS, SMS). They are different references to the same configured channel; GET /v1/channels returns both for an RCS channel. Used in:
  • POST /v1/messages — channel_id on Email and SMS sends; agent_id on RCS sends
  • Message logs — the channel_id field on every message record (including RCS)
  • Webhook payloads — data.channel_id on email.* events, message.clicked and message.received
How to get it: In the dashboard, open Channels, click the channel and switch to Settings: at the end, Channel ID for the API shows the ch_… form with a copy button (for an RCS channel also its agent_id); people with the role Manage see it. Or call GET /v1/channels (the key needs the campaigns:read permission) and read channel_id. The address of a channel’s page also contains the channel’s UUID (…/channels/550e8400-e29b-41d4-a716-446655440003), and the API accepts that bare UUID wherever a channel_id is expected. Channel IDs do not change.

Campaign ID

Format: UUID — 550e8400-e29b-41d4-a716-446655440002 Campaigns are created and managed in the dashboard UI. Used in:
  • POST /v1/campaigns/{id}/trigger — start a campaign
  • POST /v1/campaigns/{id}/pause — pause a running campaign
  • POST /v1/campaigns/{id}/resume — resume a paused campaign
  • GET /v1/campaigns/{id}/status — poll campaign status
  • Message logs — the campaign_id field links sends to the originating campaign
  • GET /v1/messages?campaign_id=... — filter message history by campaign
How to get it: Call GET /v1/campaigns and read id, or open the campaign in the dashboard and copy the UUID from the address (…/campaigns/builder/550e8400-e29b-41d4-a716-446655440002).

Template ID

Format: tpl_ prefix — tpl_xxxx Templates are created in the dashboard template editor. Used in:
  • POST /v1/messages — the template_id body field on template-based sends (email only)
How to get it: There is no API route that lists templates yet, and the dashboard does not display template IDs. Until one of the two exists, send with inline content instead of template_id.

Webhook Endpoint ID

Format: UUID — 550e8400-e29b-41d4-a716-446655440003 Webhook endpoint IDs are assigned when you register an endpoint. Used in:
  • PATCH /v1/webhooks/{id} — update URL, events, or rotate secret
  • DELETE /v1/webhooks/{id} — remove endpoint
  • POST /v1/webhooks/{id}/test — send a test payload
How to get it: Call POST /v1/webhooks and read id from the response, or call GET /v1/webhooks to list all registered endpoints.

Event ID (webhook payloads)

Format: evt_ prefix — evt_a1b2c3 Every event delivered to your webhook endpoint has a unique event ID. Used for: Deduplication. Store processed event IDs to detect and safely ignore retried deliveries.
How to get it: Always present in the webhook payload as the top-level id field.