A command's flags are the operation's fields: see them with kirora <resource> <action> --help, or on its API reference page. Signing in, the flags every command takes and the output are on the CLI page.
assets
An asset is an image you upload for a template's image blocks, served from a public URL.
| Command | What it does |
|---|---|
kirora assets delete <id> | Delete an assettemplates:write |
kirora assets import | Copy an image into the librarytemplates:write |
kirora assets list | List assetstemplates:read |
kirora assets update <id> | Rename an assettemplates:write |
kirora assets upload | Upload an imagetemplates:write |
kirora assets usage <id> | Retrieve an asset's usagetemplates:read |
attributes
Attributes are the custom fields your contacts carry, such as `plan` or `orders`, discovered from the values you send.
| Command | What it does |
|---|---|
kirora attributes describe <key> | Describe an attribute keyattributes:write |
kirora attributes list | List contact attribute keysattributes:read |
kirora attributes values <key> | List the values of an attributeattributes:read |
brand-kit
Retrieve the workspace brand kit
| Command | What it does |
|---|---|
kirora brand-kit get | Retrieve the workspace brand kittemplates:read |
campaigns
A campaign is one marketing send to an audience, a list or a segment, at once or at a scheduled time.
| Command | What it does |
|---|---|
kirora campaigns archive <id> | Archive a campaigncampaigns:write |
kirora campaigns breakdown <id> | Retrieve a campaign's email results by domain, device or countrycampaigns:read |
kirora campaigns cancel <id> | Cancel a campaign that is still sendingcampaigns:write |
kirora campaigns choose-ab-test-winner <id> | Choose an A/B test's winnercampaigns:send |
kirora campaigns create | Create a campaigncampaigns:write |
kirora campaigns delete <id> | Delete a draft campaigncampaigns:write |
kirora campaigns duplicate <id> | Duplicate a campaigncampaigns:write |
kirora campaigns eligibility <id> | Retrieve a campaign's eligibilitycampaigns:read |
kirora campaigns get <id> | Retrieve a campaigncampaigns:read |
kirora campaigns links <id> | List a campaign's links and their clickscampaigns:read |
kirora campaigns list | List campaignscampaigns:read |
kirora campaigns metrics <id> | Retrieve a campaign's metricscampaigns:read |
kirora campaigns preview <id> | Preview campaign contentcampaigns:read |
kirora campaigns schedule <id> | Schedule a campaigncampaigns:send |
kirora campaigns send <id> | Send a campaigncampaigns:send |
kirora campaigns series <id> | Retrieve a campaign's metrics over timecampaigns:read |
kirora campaigns trigger <id> | Trigger a campaigncampaigns:send |
kirora campaigns unarchive <id> | Unarchive a campaigncampaigns:write |
kirora campaigns unschedule <id> | Unschedule a campaigncampaigns:write |
kirora campaigns update <id> | Update a campaigncampaigns:write |
contacts
A contact is one person you can message, with their profile, custom attributes, consent on each channel and topic choices.
| Command | What it does |
|---|---|
kirora contacts consent-changes <id> | List a contact's consent changescontacts:read |
kirora contacts delete <id> | Delete a contactcontacts:delete |
kirora contacts delete-many | Delete contactscontacts:delete |
kirora contacts events <id> | List a contact's eventsevents:read |
kirora contacts export <id> | Export a contact's datacontacts:read |
kirora contacts get <id> | Retrieve a contactcontacts:read |
kirora contacts identify | Create or update a contactcontacts:write |
kirora contacts identify-batch | Identify contacts in a batchcontacts:write |
kirora contacts installations delete <contact-id> <external-installation-id> | Delete a push installationcontacts:write |
kirora contacts installations list <id> | List a contact's push installationscontacts:read |
kirora contacts installations register <id> | Register a push installationcontacts:write |
kirora contacts journeys <id> | List a contact's journey enrollmentsjourneys:read |
kirora contacts list | List contactscontacts:read |
kirora contacts lists <id> | List a contact's listscontacts:read |
kirora contacts merge <id> | Merge a contact into anothercontacts:write |
kirora contacts messages <id> | List a contact's messagesmessages:read |
kirora contacts segments <id> | List a contact's segmentscontacts:read |
kirora contacts topics list <id> | List a contact's topicscontacts:read |
kirora contacts topics set <contact-id> <topic-id> | Set a contact's topic choicecontacts:write |
kirora contacts update <id> | Update a contactcontacts:write |
conversion-goals
A conversion goal says what counts as a result for a campaign or a journey: an event, such as an order, done within a window after one of its messages, with an event property summed as revenue.
| Command | What it does |
|---|---|
kirora conversion-goals create | Create a conversion goalconversion-goals:write |
kirora conversion-goals delete <id> | Delete a conversion goalconversion-goals:write |
kirora conversion-goals list | List the conversion goals of a campaign or journeyconversion-goals:read |
kirora conversion-goals metrics <id> | Report a conversion goal's resultsconversion-goals:read |
kirora conversion-goals update <id> | Change a conversion goalconversion-goals:write |
embed-sessions
Embed sessions let a partner's customers use Kirora's segment and email builders inside the partner's app for 15 minutes, without a key of their own.
| Command | What it does |
|---|---|
kirora embed-sessions create | Create an embed sessionembed:write |
events
An event is something a contact did, such as `Order Completed`, with properties describing it.
| Command | What it does |
|---|---|
kirora events catalog define <name> | Define or describe an event nameevents:write |
kirora events catalog delete <name> | Delete an event name and its eventsevents:delete |
kirora events catalog list | List the event catalogueevents:read |
kirora events list | List eventsevents:read |
kirora events series | Retrieve an event's time seriesevents:read |
kirora events standard-names | List the standard event namesevents:read |
kirora events summary | Retrieve an event's summaryevents:read |
kirora events track | Track an eventevents:write |
kirora events track-batch | Track events in a batchevents:write |
forms
A form is a hosted sign-up, contact or waitlist form that creates or updates contacts and records the consent they give.
| Command | What it does |
|---|---|
kirora forms archive <id> | Archive a formforms:write |
kirora forms create | Create a formforms:write |
kirora forms delete <id> | Delete a formforms:write |
kirora forms get <id> | Retrieve a formforms:read |
kirora forms list | List formsforms:read |
kirora forms metrics <id> | Retrieve a form's metricsforms:read |
kirora forms publish <id> | Publish a formforms:write |
kirora forms submissions list <id> | List a form's submissionscontacts:read |
kirora forms submissions submit <id> | Submit a formcontacts:write |
kirora forms unarchive <id> | Unarchive a formforms:write |
kirora forms unpublish <id> | Unpublish a formforms:write |
kirora forms update <id> | Update a formforms:write |
journeys
A journey is an automation that contacts enter on a trigger, such as an event or joining a list, and move through step by step over time.
| Command | What it does |
|---|---|
kirora journeys activate <id> | Activate a journeyjourneys:activate |
kirora journeys activation-check <id> | Check a journey before activatingjourneys:read |
kirora journeys create | Create a journeyjourneys:write |
kirora journeys delete <id> | Delete a journeyjourneys:write |
kirora journeys duplicate <id> | Duplicate a journeyjourneys:write |
kirora journeys end <id> | End a journeyjourneys:write |
kirora journeys get <id> | Retrieve a journeyjourneys:read |
kirora journeys list | List journeysjourneys:read |
kirora journeys metrics <id> | Retrieve a journey's metricsjourneys:read |
kirora journeys pause <id> | Pause a journeyjourneys:write |
kirora journeys simulate <id> | Simulate a journeyjourneys:read |
kirora journeys step-metrics <id> | Retrieve a journey's metrics step by stepjourneys:read |
kirora journeys update <id> | Update a journeyjourneys:write |
lists
A list is a fixed set of contacts you add and remove yourself; its membership changes only when you change it.
| Command | What it does |
|---|---|
kirora lists contacts add <id> | Add contacts to a listlists:write |
kirora lists contacts delete <id> | Delete contacts from a listlists:write |
kirora lists create | Create a listlists:write |
kirora lists delete <id> | Delete a listlists:write |
kirora lists get <id> | Retrieve a listlists:read |
kirora lists list | List listslists:read |
kirora lists update <id> | Update a listlists:write |
kirora lists usage <id> | Retrieve a list's usagelists:read |
me
These operations return the calling API key, its scopes and its workspace.
| Command | What it does |
|---|---|
kirora me get | Retrieve the current API keyAny key |
messages
The message log holds every message Kirora sent or tried to send, from campaigns, journeys and transactional sends, with what became of it.
| Command | What it does |
|---|---|
kirora messages content <id> | Retrieve a message's contentmessages:read |
kirora messages deliveries <id> | List a push message's deliveriesmessages:read |
kirora messages exports create | Export sent messages as CSVmessages:read |
kirora messages exports download <id> | Download a message exportmessages:read |
kirora messages exports get <id> | Retrieve a message exportmessages:read |
kirora messages get <id> | Retrieve an outbound messagemessages:read |
kirora messages list | List outbound messagesmessages:read |
push-projects
A push project is a product whose iOS, Android and web apps receive push, with whether each can send.
| Command | What it does |
|---|---|
kirora push-projects list | List push projectspush:read |
reports
Reports show how sending performs: the workspace overview, a comparison of campaigns, transactional delivery and conversion funnels.
| Command | What it does |
|---|---|
kirora reports campaigns | List campaign reportsreports:read |
kirora reports funnel | Retrieve a funnel reportreports:read |
kirora reports overview | Retrieve the performance overviewreports:read |
kirora reports rfm | Retrieve the RFM summaryreports:read |
kirora reports transactional | Retrieve transactional delivery statisticsreports:read |
segments
A segment is an audience described by rules, such as "ordered twice in 90 days", evaluated when it is used.
| Command | What it does |
|---|---|
kirora segments contacts <id> | List contacts in a segmentcontacts:read |
kirora segments create | Create a segmentsegments:write |
kirora segments delete <id> | Delete a segmentsegments:write |
kirora segments get <id> | Retrieve a segmentsegments:read |
kirora segments list | List segmentssegments:read |
kirora segments membership-changes <id> | List who joined or left a segment on a daycontacts:read |
kirora segments preview | Preview segment rulessegments:read |
kirora segments size-history <id> | Retrieve a segment's size historysegments:read |
kirora segments update <id> | Update a segmentsegments:write |
kirora segments usage <id> | Retrieve a segment's usagesegments:read |
senders
A sender is a From address the workspace has saved, on one of its sending domains, with one default that new emails start with.
| Command | What it does |
|---|---|
kirora senders list | List sendersdomains:read |
sending-domains
A sending domain is a domain your email is sent from, with the DNS records that prove you own it.
| Command | What it does |
|---|---|
kirora sending-domains check <id> | Check a sending domaindomains:write |
kirora sending-domains create | Add a sending domaindomains:write |
kirora sending-domains delete <id> | Delete a sending domaindomains:write |
kirora sending-domains get <id> | Retrieve a sending domaindomains:read |
kirora sending-domains list | List sending domainsdomains:read |
kirora sending-domains request-review <id> | Ask for a sending domain review againdomains:write |
kirora sending-domains usage <id> | Retrieve a sending domain's usagedomains:read |
shared-blocks
A shared block is a block kept once and placed in many templates, such as a footer or a product card.
| Command | What it does |
|---|---|
kirora shared-blocks create | Create a shared blocktemplates:write |
kirora shared-blocks delete <id> | Delete a shared blocktemplates:write |
kirora shared-blocks get <id> | Retrieve a shared blocktemplates:read |
kirora shared-blocks list | List shared blockstemplates:read |
kirora shared-blocks update <id> | Update a shared blocktemplates:write |
kirora shared-blocks usage <id> | Retrieve a shared block's usagetemplates:read |
suppressions
A suppression is a block on an email address, held whether or not a contact has it, with its reason.
| Command | What it does |
|---|---|
kirora suppressions add | Add suppressed email addressessuppressions:write |
kirora suppressions delete | Delete suppressed email addressessuppressions:write |
kirora suppressions list | List suppressed email addressessuppressions:read |
tags
A tag is a label on campaigns, journeys, segments and templates, such as "Black Friday", for filtering lists and reports.
| Command | What it does |
|---|---|
kirora tags create | Create a tagtags:write |
kirora tags delete <id> | Delete a tagtags:write |
kirora tags list | List tagstags:read |
kirora tags merge <id> | Merge a tag into anothertags:write |
kirora tags update <id> | Rename a tagtags:write |
templates
A template is a reusable email design: a document of blocks and a theme, saved as a draft and published as numbered versions.
| Command | What it does |
|---|---|
kirora templates create | Create an email templatetemplates:write |
kirora templates delete <id> | Delete a templatetemplates:write |
kirora templates duplicate <id> | Duplicate a templatetemplates:write |
kirora templates gallery | List sample emails and theme presetstemplates:read |
kirora templates get <id> | Retrieve a templatetemplates:read |
kirora templates list | List templatestemplates:read |
kirora templates publish <id> | Publish a templatetemplates:write |
kirora templates render <id> | Render a saved templatetemplates:read |
kirora templates render-content | Render a design or HTMLtemplates:read |
kirora templates send-test | Send a test emailtemplates:write |
kirora templates update <id> | Update a templatetemplates:write |
kirora templates versions get <template-id> <template-version> | Retrieve a template versiontemplates:read |
kirora templates versions list <id> | List a template's versionstemplates:read |
kirora templates versions restore <template-id> <template-version> | Restore a template versiontemplates:write |
topics
A topic is a kind of marketing a contact can choose, such as product updates, and a topic choice is their choice for it on every channel or one.
| Command | What it does |
|---|---|
kirora topics create | Create a topictopics:write |
kirora topics delete <id> | Delete a topictopics:write |
kirora topics get <id> | Retrieve a topictopics:read |
kirora topics list | List topicstopics:read |
kirora topics update <id> | Update a topictopics:write |
transactional
Transactional messages are one-off email or push sends to one recipient, such as receipts and password resets, that a person needs whatever their marketing choices.
| Command | What it does |
|---|---|
kirora transactional cancel-scheduled <id> | Cancel a scheduled transactional messagetransactional:send |
kirora transactional send | Send a transactional messagetransactional:send |
kirora transactional send-batch | Send transactional messages in a batchtransactional:send |
webhooks
A webhook is an endpoint of yours that receives Kirora's events, such as `message.delivered`.
| Command | What it does |
|---|---|
kirora webhooks create | Create a webhookwebhooks:write |
kirora webhooks delete <id> | Delete a webhookwebhooks:write |
kirora webhooks deliveries get <id> | Retrieve a webhook deliverywebhooks:read |
kirora webhooks deliveries list | List webhook deliverieswebhooks:read |
kirora webhooks deliveries redeliver <delivery-id> | Redeliver a webhook deliverywebhooks:write |
kirora webhooks events | List webhook eventsAny key |
kirora webhooks get <id> | Retrieve a webhookwebhooks:read |
kirora webhooks list | List webhookswebhooks:read |
kirora webhooks rotate-secret <id> | Rotate a webhook signing secretwebhooks:write |
kirora webhooks test <id> | Send a test webhook deliverywebhooks:write |
kirora webhooks update <id> | Update a webhookwebhooks:write |
workspaces
Partner workspaces let a platform offer messaging to its own customers, one workspace per customer, created and run with a partner key and the `Kirora-Workspace` header.
| Command | What it does |
|---|---|
kirora workspaces cancel-deletion <external-id> | Cancel a tenant workspace's deletionworkspaces:manage |
kirora workspaces create | Create a tenant workspaceworkspaces:manage |
kirora workspaces delete <external-id> | Delete a tenant workspaceworkspaces:manage |
kirora workspaces get <external-id> | Retrieve a tenant workspaceworkspaces:manage |
kirora workspaces list | List your tenant workspacesworkspaces:manage |
kirora workspaces resume <external-id> | Resume a tenant workspaceworkspaces:manage |
kirora workspaces suspend <external-id> | Suspend a tenant workspaceworkspaces:manage |
kirora workspaces update <external-id> | Update a tenant workspaceworkspaces:manage |