POST /visitors/convert

You can merge a Visitor to a Contact of role type lead or user.

📘 What happens upon a visitor being converted?

If the User exists, then the Visitor will be merged into it, the Visitor deleted and the User returned. If the User does not exist, the Visitor will be converted to a User, with the User identifiers replacing it's Visitor identifiers.

Servers

Request headers

Name Type Required Description
Content-Type String Yes The media type of the request body.

Default value: "application/json"

Intercom-Version String No

Possible values:

  • "1.1"
  • "2.0"
  • "1.0"
  • "2.9"
  • "Unstable"
  • "1.3"
  • "2.2"
  • "2.12"
  • "1.2"
  • "2.1"
  • "2.4"
  • "1.4"
  • "2.3"
  • "2.6"
  • "2.5"
  • "2.8"
  • "2.10"
  • "2.7"
  • "2.11"

Default value: "2.12"

Request body fields

Name Type Required Description
visitor Object Yes

The unique identifiers to convert a single Visitor.

visitor.id String No

The unique identifier for the contact which is given by Intercom.

visitor.email String No

The visitor's email.

visitor.user_id String No

A unique identifier for the contact which is given to Intercom.

user Object Yes

The unique identifiers retained after converting or merging.

user.id String No

The unique identifier for the contact which is given by Intercom.

user.email String No

The contact's email, retained by default if one is present.

user.user_id String No

A unique identifier for the contact which is given to Intercom, which will be represented as external_id.

type String Yes

Represents the role of the Contact model. Accepts lead or user.

How to start integrating

  1. Add HTTP Task to your workflow definition.
  2. Search for the API you want to integrate with and click on the name.
    • This loads the API reference documentation and prepares the Http request settings.
  3. Click Test request to test run your request to the API and see the API's response.