From airship
Lookup an email channel by email address to check if it's registered, retrieve its channel_id, and get channel details. Use before registration or association operations.
How this skill is triggered — by the user, by Claude, or both
Slash command
/airship:email-lookupThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
This skill enables agents to lookup an email channel by email address. Use this to check if an email address is already registered, retrieve its `channel_id`, and get channel details before performing operations like registration or association.
This skill enables agents to lookup an email channel by email address. Use this to check if an email address is already registered, retrieve its channel_id, and get channel details before performing operations like registration or association.
Method: GET
Path: /api/channels/email/{email}
Base URL:
https://go.urbanairship.comhttps://go.airship.euhttps://api.asnapius.comhttps://api.asnapieu.comPath: /api/channels/email/{email}
Note: The @ character in the email address must be URL-encoded as %40 in the path.
| Method | Endpoint | Scope |
|---|---|---|
| OAuth (recommended) | api.asnapius.com | chn |
| Bearer token | go.urbanairship.com | — |
| Basic | go.urbanairship.com | — |
See Authentication Guide for token request details and MCP setup.
OAuth (api.asnapius.com):
Authorization: Bearer <oauth_token>
Accept: application/vnd.urbanairship+json; version=3
Bearer token (go.urbanairship.com):
Authorization: Bearer <dashboard_token>
Accept: application/vnd.urbanairship+json; version=3
Basic (go.urbanairship.com):
Authorization: Basic <base64(app_key:master_secret)>
Accept: application/vnd.urbanairship+json; version=3
email: The email address of the channel you want to look up (string)
[email protected] becomes name%40example.com){
"ok": true,
"channel": {
"channel_id": "01234567-890a-bcde-f012-3456789abc0",
"device_type": "email",
"installed": true,
"created": "2020-08-08T20:41:06",
"named_user_id": "some_id_that_maps_to_your_systems",
"email_address": "[email protected]",
"tag_groups": {
"tag_group_1": ["tag1", "tag2"],
"tag_group_2": ["tag1", "tag2"]
},
"address": null,
"opt_in": true,
"commercial_opted_in": "2020-10-28T10:34:22",
"commercial_opted_out": null,
"transactional_opted_in": "2020-10-28T10:34:22",
"transactional_opted_out": null,
"open_tracking_opted_in": "2022-12-11T00:00:00",
"click_tracking_opted_in": "2022-12-11T00:00:00",
"last_registration": "2020-05-01T18:00:27"
}
}
channel_id: Unique identifier for the email channel (UUID)device_type: Always "email" for email channelsinstalled: Boolean indicating if the channel is activecreated: Date-time when the channel was creatednamed_user_id: Associated named user ID, if anyemail_address: The email address (note: address field is null for security)tag_groups: Object containing tag groups and their tagsopt_in: Always true for email channels (can be ignored)commercial_opted_in: Date-time when user opted in to commercial emailscommercial_opted_out: Date-time when user opted out of commercial emailstransactional_opted_in: Date-time when user opted in to transactional emailstransactional_opted_out: Date-time when user opted out of transactional emailsopen_tracking_opted_in: Date-time when user opted in to open trackingclick_tracking_opted_in: Date-time when user opted in to click trackinglast_registration: Date-time of the last registration updateReturned when no channel exists for the specified email address:
{
"ok": false,
"error": "No channel found for email address"
}
Invalid or missing authentication credentials.
channel_id to associate the email channel with a named user@ as %40 in the URL pathchannel_id for subsequent operations like associationcommercial_opted_in and transactional_opted_in dates before sending messageschannel_id if existschannel_idchannel_id with named usernpx claudepluginhub urbanairship/agent-tools --plugin airshipGuides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.