.png)
Airship Integration Guide
Connect Airship’s REST APIs and selected webhook events with enterprise workflows for messaging, audience management, channel synchronization, and engagement reporting.
Airship integration options at a glance
Airship’s primary server-side integration mechanism is its JSON-based REST API, which supports channels, named users, audiences, messages, templates, preferences, reports, and related engagement operations. Airship also supports webhook-style delivery for selected events, allowing external HTTPS endpoints to receive delivery or engagement notifications. Audience-based and asynchronous messaging can support higher-volume workflows, while reporting APIs can provide data for reconciliation and analytics. Airship uses bearer authentication with API tokens. Martini can consume these APIs, receive selected webhook events, schedule synchronization workflows, map and validate payloads, apply consent rules, and expose controlled APIs for internal applications.
Common Airship integration patterns
Common Airship data objects used in integrations
Authentication and security considerations
Bearer-token authentication
Airship server-side APIs use API tokens sent as bearer tokens in the HTTP Authorization header. Required permissions depend on the operation, account, organization, project, or tenant context.
Secret management
Store Airship tokens in Martini secrets or protected environment configuration rather than embedding them in workflows. Use separate credentials for development, testing, and production and rotate them without changing integration logic.
Webhook protection
For selected Airship webhook capabilities, verify the configured authentication, signature, or shared-secret mechanism before accepting events. Minimize sensitive identifiers and message content in logs.
Operational considerations for Airship integrations
Rate limits and retries
Airship limits may vary by endpoint, account, or plan. Use controlled concurrency, exponential backoff, and operation-specific retry rules. Do not automatically retry an operation unless its duplicate-send behavior is understood.
Pagination and checkpoints
Pagination models may differ across Airship endpoints. Persist the applicable cursor, page token, continuation link, timestamp, request identifier, or completion state only after successful processing.
Idempotency and ordering
Webhook delivery and scheduled polling can produce duplicates or out-of-order events. Use Airship event, message, delivery, or composite business identifiers for deduplication and reconciliation.
Consent and schema management
Apply preference and opt-out rules immediately before message submission. Validate required fields, keep API version assumptions explicit, and monitor changes to message, audience, reporting, and webhook schemas.
Data protection
Airship data can contain device identifiers, Named User identifiers, Attributes, and message content. Minimize retained data, mask tokens and personal information in logs, and review access and retention requirements for downstream stores.
Why use Martini instead of scripts or point-to-point integrations?
Orchestration beyond a single API call
Airship integrations often require identity resolution, consent checks, audience selection, message submission, reporting, and downstream reconciliation. Martini coordinates these steps in workflows rather than leaving the logic in isolated scripts.
Reusable integration logic
Martini can expose controlled APIs for operations such as sending an approved Airship message or synchronizing a Named User. This keeps Airship-specific payloads and authentication details behind reusable integration assets.
Reliable data movement
Martini provides mapping, transformation, validation, scheduling, webhook-triggered workflows, error handling, and operational logging for event-driven and batch scenarios. These capabilities help manage retries, checkpoints, duplicate events, and schema changes.
Flexible enterprise architecture
Martini can connect Airship with applications, databases, files, and messaging systems using standards-based APIs and workflows, while allowing custom logic when the integration requires specialized business rules.