provider Contact Handles POST /contacts/{contact_id}/handles
@utdk/front /contacts/{contact_id}/handles
Add contact handle
Adds a new handle to a contact. Required scope: `contacts:write`
contact_id path required
The contact ID. Alternatively, you can supply the contact's source and handle as a [resource alias](https://dev.frontapp.com/docs/resource-aliases-1).
string

Try it

Authentication
Configure credentials for Core API
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.

Saved automatically to browser storage.

addContactHandle
POST/contacts/{contact_id}/handles
Adds a new handle to a contact. Required scope: `contacts:write`

Parameters

required

The contact ID. Alternatively, you can supply the contact's source and handle as a [resource alias](https://dev.frontapp.com/docs/resource-aliases-1).

Input

required

Handle used to reach the contact.

required

Source of the handle. Can be `email`, `phone`, `twitter`, `facebook`, `intercom`, `front_chat`, or `custom`.

Enter a gateway URL above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import front from '@utdk/front';

await front.addContactHandle({
  "contact_id": "crd_123"
})