Associate device with person record

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
🚧

Before you start...

Before you get started, we recommend review the Associate Person to Device customer API in the Vibes Push SDK section to understand how and when this API call should be used.

Response

If the call is successful, the response will include the newly associated person entity. Now that the vibes_device_id and external_device_id are associated, you can use person data to target push messaging to the user’s push device.

Notes:

  • If a person_key is supplied, and a person with that person_key does not exist, that will result in an error.
  • If an external_person_id is supplied and a person with that external_person_id does not exist, then the external_person_id will be assigned to the person currently associated with the device.
  • If the indicated person exists and the device is not already associated with them, it will be moved to be associated with them.
  • If the indicated person is already associated with the device, then nothing will be done and a success response will be returned.

In the case of an error, a standard public API error response will be returned instead. See Responses below for some common errors.

Path Params
string
required
string
required
Important: If you are entering a real vibes_device_id, please note that using the "Try It" feature on the righthand console will send an actual API call to our system. This may result in a person being associated with a push device.
Body Params

One of external_person_id OR person_key is required.

string

A unique person identifier assigned by the brand, which can be used to link non-Vibes-assigned identifiers to Vibes person records.

string

A unique Vibes-asigned alphanumeric identifier for each person record.

Headers
string
Defaults to 1
Responses

404

The vibes_device_id or person_key (if provided) could not be found.

422

Unprocessible entity. The requested assignment could not be completed. Reason will be stated in the response body.

Language
Credentials
Basic
base64
:
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json