provider Accounts POST /accounts/{account_id}/contacts
@utdk/front /accounts/{account_id}/contacts
Add contact to Account
Adds a list of contacts to an Account Required scope: `accounts:write`
account_id path required
The Account ID. Alternatively, you can supply the account domain or external ID 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.

addContactToAccount
POST/accounts/{account_id}/contacts
Adds a list of contacts to an Account Required scope: `accounts:write`

Parameters

required

The Account ID. Alternatively, you can supply the account domain or external ID as a [resource alias](https://dev.frontapp.com/docs/resource-aliases-1).

Input

required

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

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.addContactToAccount({
  "account_id": "acc_123"
})