Contacts
Contact association
Changed onAssociate a channel, email address, or MSISDN with a contact. The contact_id is created if it does not already exist.
post/api/contacts/associate
Request
- Base URLhttps://go.urbanairship.com
- AuthOAuth 2Client credentialsToken URLhttp://oauth2.{domain}.com/tokenScopescnt
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"channel_id": "9c36e8c7-5a73-47c0-9716-99fd3d4197d5",
"contact_id": "john_doe"
}Response
The request was accepted. The contact_id is returned in the response.
Changes
- breaking
removed
subschema #1: Contact association payload with Channel IDsubschema #2: Contact association payload with email addressfrom the request bodyoneOflist - info
added to the request body
oneOflist
This list may be incomplete.
- breaking
- info
endpoint added
- info