POST /phone_call_redirects

You can use the API to deflect phone calls to the Intercom Messenger. Calling this endpoint will send an SMS with a link to the Messenger to the phone number specified.

If custom attributes are specified, they will be added to the user or lead's custom data attributes.

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
custom_attributes Object No

An object containing the different custom attributes associated to the conversation as key-value pairs. For relationship attributes the value will be a list of custom object instance models.

custom_attributes.custom_object_instance_list Object No

The list of associated custom object instances for a given reference attribute on the parent object.

custom_attributes.custom_object_instance_list.type String No
custom_attributes.custom_object_instance_list.instances[] Array No

The list of associated custom object instances for a given reference attribute on the parent object.

custom_attributes.custom_object_instance_list.instances[].id String No

The Intercom defined id representing the custom object instance.

custom_attributes.custom_object_instance_list.instances[].custom_attributes Object No

The custom attributes you have set on the custom object instance.

custom_attributes.custom_object_instance_list.instances[].external_id String No

The id you have defined for the custom object instance.

custom_attributes.custom_object_instance_list.instances[].type String No

The identifier of the custom object type that defines the structure of the custom object instance.

phone String Yes

Phone number in E.164 format, that will receive the SMS to continue the conversation in the Messenger.

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.