Menu

CLI commands

Find the CLI command for your task. Explore 158 commands grouped by resource, with links to their API fields and required scopes.

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

Images uploaded for template image blocks, served from a public URL.

CommandWhat it does
kirora assets listList uploaded imagestemplates:read
kirora assets uploadUpload an imagetemplates:write

attributes

The attribute keys your contacts carry and their values, for rule and merge-tag pickers.

CommandWhat it does
kirora attributes listList contact attribute keysattributes:read
kirora attributes list-merge-tag-fallbacksList remembered merge tag fallbacksattributes:read
kirora attributes list-values <key>List the values of an attributeattributes:read

brand-theme

Retrieve the workspace brand theme

CommandWhat it does
kirora brand-theme getRetrieve the workspace brand themetemplates:read

campaigns

One-off sends to a group or segment.

CommandWhat it does
kirora campaigns archive <id>Archive a campaigncampaigns:write
kirora campaigns cancel <id>Cancel a campaign that is still sendingcampaigns:write
kirora campaigns check-unsaved-eligibilityCheck who a campaign would reach before saving itcampaigns:read
kirora campaigns createCreate a campaigncampaigns:write
kirora campaigns delete <id>Delete a draft campaigncampaigns:write
kirora campaigns duplicate <id>Duplicate a campaigncampaigns:write
kirora campaigns get <id>Retrieve a campaigncampaigns:read
kirora campaigns get-eligibility <id>Check whether a campaign can sendcampaigns:read
kirora campaigns get-series <id>Chart campaign performance over timecampaigns:read
kirora campaigns get-stats <id>Retrieve campaign statisticscampaigns:read
kirora campaigns listList campaignscampaigns:read
kirora campaigns list-links <id>List a campaign's most clicked linkscampaigns:read
kirora campaigns list-messages <id>List campaign messagescampaigns: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 trigger <id>Send a campaign to the people you listcampaigns: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

People you can message, their attributes and their consent.

CommandWhat it does
kirora contacts disable-push-installation <id> <installationId>Disable a push installationcontacts:write
kirora contacts eraseErase contactscontacts:delete
kirora contacts export-data <id>Export a contact's datacontacts:read
kirora contacts get <id>Retrieve a contactcontacts:read
kirora contacts identifyCreate or update a contactcontacts:write
kirora contacts identify-batchCreate or update contacts in a batchcontacts:write
kirora contacts listList contactscontacts:read
kirora contacts list-consent-history <id>List a contact's consent historycontacts:read
kirora contacts list-events <id>List a contact's eventscontacts:read
kirora contacts list-groups <id>List a contact's groupscontacts:read
kirora contacts list-journeys <id>List a contact's journey runscontacts:read
kirora contacts list-messages <id>List a contact's messagesmessages:read
kirora contacts list-push-installations <id>List a contact's push installationscontacts:read
kirora contacts list-segments <id>List saved segments currently matching this contactcontacts:read
kirora contacts list-topics <id>List a contact's topicscontacts:read
kirora contacts register-push-installation <id>Register a push installationcontacts:write
kirora contacts set-topic <id> <topicId>Set a contact's topic choicecontacts:write
kirora contacts update <id>Update a contactcontacts:write

embed-sessions

Mint a builder session for a browser

CommandWhat it does
kirora embed-sessions createMint a builder session for a browserworkspaces:manage

events

Behavioural event ingestion.

CommandWhat it does
kirora events cancel <id>Cancel what an event set offevents:write
kirora events delete-name <name>Delete an event nameevents:write
kirora events get-name <name>Retrieve an event nameevents:read
kirora events list-namesList event namesevents:read
kirora events trackTrack an eventevents:write
kirora events track-batchTrack events in a batchevents:write

forms

Hosted signup forms that create contacts and record consent.

CommandWhat it does
kirora forms archive <id>Archive a formforms:write
kirora forms createCreate a formforms:write
kirora forms delete <id>Delete a formforms:write
kirora forms get <id>Retrieve a formforms:read
kirora forms get-stats <id>Retrieve form statisticsforms:read
kirora forms listList formsforms:read
kirora forms list-submissions <id>List a form's submissionscontacts:read
kirora forms unarchive <id>Unarchive a formforms:write
kirora forms update <id>Update a formforms:write

groups

Static audiences with explicit membership.

CommandWhat it does
kirora groups add-members <id>Add contacts to a groupgroups:write
kirora groups createCreate a groupgroups:write
kirora groups delete <id>Delete a groupgroups:write
kirora groups get <id>Retrieve a groupgroups:read
kirora groups get-usage <id>List what uses a groupgroups:read
kirora groups listList groupsgroups:read
kirora groups remove-members <id>Remove contacts from a groupgroups:write
kirora groups update <id>Update a groupgroups:write

journeys

Multi-step automations that contacts enter and move through over time.

CommandWhat it does
kirora journeys activate <id>Activate a journeyjourneys:activate
kirora journeys createCreate 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 get-stats <id>Retrieve journey statisticsjourneys:read
kirora journeys get-step-stats <id>Retrieve per-step journey statisticsjourneys:read
kirora journeys listList journeysjourneys:read
kirora journeys list-definitions <id>List journey definition versionsjourneys:read
kirora journeys pause <id>Pause a journeyjourneys:write
kirora journeys simulate <id>Preview a contact's journey step path without sendingjourneys:read
kirora journeys update <id>Update a journeyjourneys:write

me

The calling API key and its workspace, as a connection test.

CommandWhat it does
kirora me getCheck an API keyAny key

messages

The send log: every message from any source, and what became of it.

CommandWhat it does
kirora messages create-exportExport sent messages as CSVmessages:read
kirora messages download-export <id>Download a message exportmessages:read
kirora messages get-export <id>Retrieve a message exportmessages:read
kirora messages get-sent <id>Retrieve a sent messagemessages:read
kirora messages list-sentList sent messages across every sourcemessages:read

onboarding

Retrieve the setup checklist

CommandWhat it does
kirora onboarding getRetrieve the setup checklistAny key

push

Direct push sends to a contact's installations.

CommandWhat it does
kirora push list-deliveries <id>List a push message's deliveriesmessages:read
kirora push sendSend a push messagepush:send

push-projects

The products whose apps receive push, and whether each can send.

CommandWhat it does
kirora push-projects listList push projectspush:read

reports

How sending is performing: the overview and a per-campaign comparison, by calendar day in the workspace's timezone.

CommandWhat it does
kirora reports get-funnelReport a conversion funnel over eventsreports:read
kirora reports get-overviewRetrieve the performance overviewreports:read
kirora reports get-transactionalRetrieve transactional email deliveryreports:read
kirora reports list-campaign-performanceCompare campaignsreports:read

segments

Rule-based audiences, evaluated when used rather than stored as a fixed list.

CommandWhat it does
kirora segments createCreate a segmentsegments:write
kirora segments delete <id>Delete a segmentsegments:write
kirora segments get <id>Retrieve a segmentsegments:read
kirora segments get-count <id>Count contacts in a segmentsegments:read
kirora segments get-usage <id>List what uses a segmentsegments:read
kirora segments listList segmentssegments:read
kirora segments list-contacts <id>List contacts in a segmentcontacts:read
kirora segments previewPreview segment rulessegments:read
kirora segments update <id>Update a segmentsegments:write

sending-domains

Domains you send from, and their DNS verification state.

CommandWhat it does
kirora sending-domains check <id>Check domain verificationdomains:write
kirora sending-domains createAdd a sending domaindomains:write
kirora sending-domains delete <id>Remove a sending domaindomains:write
kirora sending-domains get <id>Retrieve a sending domaindomains:read
kirora sending-domains get-usage <id>List what sends from a domaindomains:read
kirora sending-domains listList sending domainsdomains:read

shared-blocks

Blocks kept once and placed in many emails, such as a footer or a product card; editing one updates every template that uses it.

CommandWhat it does
kirora shared-blocks createCreate 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 get-usage <id>List where a shared block is placedtemplates:read
kirora shared-blocks listList shared blockstemplates:read
kirora shared-blocks update <id>Update a shared blocktemplates:write

suppressions

Addresses nothing is sent to: bounces, complaints, unsubscribes and blocks you add.

CommandWhat it does
kirora suppressions importImport suppressed email addressessuppressions:write
kirora suppressions listList suppressed email addressessuppressions:read
kirora suppressions remove <id>Unblock a suppressed email addresssuppressions:write

templates

Reusable block trees and themes.

CommandWhat it does
kirora templates createCreate a templatetemplates:write
kirora templates delete <id>Delete a templatetemplates:write
kirora templates duplicate <id>Duplicate a templatetemplates:write
kirora templates get <id>Retrieve a templatetemplates:read
kirora templates get-galleryList sample emails and theme presetstemplates:read
kirora templates get-version <id> <version>Retrieve a template versiontemplates:read
kirora templates listList templatestemplates:read
kirora templates list-versions <id>List a template's versionstemplates:read
kirora templates publish <id>Publish a templatetemplates:write
kirora templates renderRender blocks to email HTMLtemplates:read
kirora templates restore-version <id> <version>Roll back to a template versiontemplates:write
kirora templates update <id>Update a templatetemplates:write

topics

Subscription topics a contact can opt in or out of, and each contact's choices.

CommandWhat it does
kirora topics createCreate a topictopics:write
kirora topics delete <id>Delete a topictopics:write
kirora topics listList topicstopics:read
kirora topics update <id>Update a topictopics:write

transactional

One-off messages to a single recipient — receipts, password resets — outside campaigns, with idempotency keys for safe retries.

CommandWhat it does
kirora transactional cancel-scheduled <id>Cancel a timed sendtransactional:send
kirora transactional get <id>Retrieve a transactional messagemessages:read
kirora transactional get-content <id>Retrieve what a transactional message sentmessages:read
kirora transactional listList transactional messagesmessages:read
kirora transactional sendSend a transactional messagetransactional:send
kirora transactional send-batchSend up to 100 transactional messagestransactional:send

webhooks

Endpoints that receive our events, signed and retried: subscribe, list, pause, test, rotate secrets and resend deliveries.

CommandWhat it does
kirora webhooks createSubscribe a URL to eventswebhooks:write
kirora webhooks delete <id>Unsubscribe a webhookwebhooks:write
kirora webhooks listList webhookswebhooks:write
kirora webhooks list-deliveriesList webhook deliverieswebhooks:write
kirora webhooks list-eventsList webhook eventsAny key
kirora webhooks redeliver-delivery <deliveryId>Send a failed delivery againwebhooks:write
kirora webhooks rotate-secret <id>Rotate a webhook signing secretwebhooks:write
kirora webhooks test <id>Send a test eventwebhooks:write
kirora webhooks update <id>Update a webhookwebhooks:write

workspaces

For platforms that resell messaging to their own customers: one workspace per tenant, driven with a partner key and the `Kirora-Workspace` header, and short-lived sessions for the embedded builders.

CommandWhat it does
kirora workspaces cancel-deletion <externalId>Cancel a tenant workspace's deletionworkspaces:manage
kirora workspaces createCreate a workspace for one of your tenantsworkspaces:manage
kirora workspaces delete <externalId>Delete a tenant's workspaceworkspaces:manage
kirora workspaces get <externalId>Retrieve a tenant workspaceworkspaces:manage
kirora workspaces listList your tenant workspacesworkspaces:manage
kirora workspaces resume <externalId>Resume a tenant's sendingworkspaces:manage
kirora workspaces suspend <externalId>Suspend a tenant's sendingworkspaces:manage
kirora workspaces update <externalId>Update a tenant workspaceworkspaces:manage