Urban Airship integration summary

Stitch’s Urban Airship integration replicates data using the Airship API version 3. Refer to the Schema section for a list of objects available for replication.

Urban Airship feature snapshot

A high-level look at Stitch's Urban Airship integration, including release status, useful links, and the features supported in Stitch.

STITCH
Release Status

Released

Supported By

Singer Community

Stitch Plan

Free

Singer GitHub Repository

Urban Airship Repository

DATA SELECTION
Table Selection

Unsupported

Column Selection

Unsupported

REPLICATION SETTINGS
Anchor Scheduling

Supported

Advanced Scheduling

Unsupported

Table-level Reset

Unsupported

Configurable Replication Methods

Unsupported

TRANSPARENCY
Extraction Logs

Supported

Loading Reports

Supported

Connecting Urban Airship

Urban Airship setup requirements

To set up Urban Airship in Stitch, you need:

  • To verify your Urban Airship API access. Urban Airship limits API access based on their product plans, meaning some plans have access while others do not.

    If you create an Urban Airship integration and Stitch displays a 401 Unauthorized or 403 Forbidden error, you may not have access to Urban Airship’s API.

We recommend reaching out to Urban Airship support to confirm your API access level before beginning the setup in Stitch.

Step 1: Retrieve your Urban Airship app credentials

  1. Sign into your Urban Airship account.
  2. In the dashboard, open the app you want to connect to Stitch.
  3. If the Engage tab doesn’t open, click Engage at the top to open it.
  4. Click the gear icon located near Reports, then select APIs & Integrations.
  5. The APIs & Integrations page will display.

Leave this page open for now - you’ll need it to complete the setup.

Step 2: Add Urban Airship as a Stitch data source

  1. Sign into your Stitch account.
  2. On the Stitch Dashboard page, click the Add Integration button.

  3. Click the Urban Airship icon.

  4. Enter a name for the integration. This is the name that will display on the Stitch Dashboard for the integration; it’ll also be used to create the schema in your destination.

    For example, the name “Stitch Urban Airship” would create a schema called stitch_urban_airship in the destination. Note: Schema names cannot be changed after you save the integration.

  5. In the App Key field, paste your Urban Airship App Key.
  6. In the App Secret field, paste your Urban Airship App Secret.

Step 3: Define the historical sync

The Sync Historical Data setting will define the starting date for your Urban Airship integration. This means that:

  • For tables using Incremental Replication, data equal to or newer than this date will be replicated to your data warehouse.
  • For tables using Full Table Replication, all data - including records that are older, equal to, or newer than this date - will be replicated to your data warehouse.

Change this setting if you want to replicate data beyond Urban Airship’s default setting of 1 year. For a detailed look at historical replication jobs, check out the Syncing Historical SaaS Data guide.

Step 4: Create a replication schedule

In the Replication Frequency section, you’ll create the integration’s replication schedule. An integration’s replication schedule determines how often Stitch runs a replication job, and the time that job begins.

Urban Airship integrations support the following replication scheduling methods:

To keep your row usage low, consider setting the integration to replicate less frequently. See the Understanding and Reducing Your Row Usage guide for tips on reducing your usage.

Initial and historical replication jobs

After you finish setting up Urban Airship, its Sync Status may show as Pending on either the Stitch Dashboard or in the Integration Details page.

For a new integration, a Pending status indicates that Stitch is in the process of scheduling the initial replication job for the integration. This may take some time to complete.

Free historical data loads

The first seven days of replication, beginning when data is first replicated, are free. Rows replicated from the new integration during this time won’t count towards your quota. Stitch offers this as a way of testing new integrations, measuring usage, and ensuring historical data volumes don’t quickly consume your quota.


Urban Airship table schemas

Replication Method :

Key-based Incremental

Replication Key :

created : last_registration

Primary Key :

channel_id

API endpoint :

channelListing

The channels table contains info about the channels - or unique identifiers - used to address applications on iOS, Android, and Amazon devices.

channel_id
INTEGER

The channel ID.

Reference:

created
DATE-TIME

The date the channel was created.

last_registration
DATE-TIME

The last registration date of the channel, if known.

device_type
STRING

The platform type of the channel. Possible values:

  • ios
  • android
  • amazon
  • web

installed
BOOLEAN

Indicates if the channel is installed.

background
BOOLEAN

Indicates if the device associated with the channel has background app refresh enabled.

opt_in
BOOLEAN

Indicates if the channel is opted-in to push.

push_addresses
STRING

The address to send the push.

named_user_id
STRING

A customer-chosen ID that represents the device user.

Reference:

alias
STRING

The alias associated with the channel. This field has been deprecated by Urban Airship.

tags
ARRAY

A list of tags associated with the channel.

value
STRING

The tag associated with the channel.

channels (table), tags (attribute)

tag_groups
ARRAY

Details about the customer-created tag groups and device property tags associated with the channel.

name
STRING

The name of the tag group.

tags
ARRAY

Details about the tags associated with the tag group.

value
STRING

The tag associated with the tag group.

channels (table), tags (attribute)
channels (table), tag_groups (attribute)

ios
OBJECT

Details about iOs-specific parameters.

badge
STRING

The current badge value.

quiettime
OBJECT

Details about quiet time iOS parameters.

start
STRING

The start of quiet time.

end
STRING

The end of quiet time.

channels (table), quiettime (attribute)

tz
STRING

The timezone associated with the iOS device.

channels (table), ios (attribute)

Replication Method :

Key-based Incremental

Replication Key :

created : last_modified

Primary Key :

name

API endpoint :

allLists

The Urban Airship table contains info about device lists.

name
STRING

The name of the list.

created
DATE-TIME

The time the list was created.

last_modified
DATE-TIME

The time the list was last updated.

description
STRING

A description of the list.

extra
ARRAY

A list of the arbitrary, user-provided JSON values associated with the list.

key
STRING

The key to the associated value.

value
STRING

The value associated with the given key.

lists (table), extra (attribute)

channel_count
INTEGER

A count of resolved channels for the last uploaded and successfully processed identifier list.

status
STRING

The status of the list. Possible values:

  • ready
  • processing
  • failure : > * ready - Indicates the list was processed successfully and is ready for sending.

Replication Method :

Full Table

Primary Key :

named_user_id

API endpoint :

namedUsersListing

The named_users table contains info about named users, or individual consumers. These identifiers can be used to map CRM data to channels.

named_user_id
STRING

The named user ID.

Reference:

tags
ARRAY

The tags applied to the named user.

value
STRING

The tag applied to the named user.

named_users (table), tags (attribute)

channels
ARRAY

The channels associated with the named user.

value
STRING

The ID of the channel associated with the named user.

Reference:

named_users (table), channels (attribute)

segments

Replication Method :

Key-based Incremental

Replication Key :

creation_date : modification_date

Primary Key :

id

API endpoint :

segmentListing

The segments table contains info about segments, or portions of your audience that have arbitrary metadata attached.

id
STRING

The segment ID.

creation_date
DATE-TIME

The date the segment was created.

modification_date
DATE-TIME

The date that the segment was last updated.

display_name
STRING

The display name of the segment.



Questions? Feedback?

Did this article help? If you have questions or feedback, feel free to submit a pull request with your suggestions, open an issue on GitHub, or reach out to us.