---
title: "Load Custom Contacts"
method: POST
path: "/api/channels/custom/accounts/{account_id}/contacts"
tags: ["channels", "channels", "custom-channel"]
---

# Load Custom Contacts

`POST /api/channels/custom/accounts/{account_id}/contacts`

## Request

- Base URL: `https://api.dialogbrain.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.dialogbrain.com/api/channels/custom/accounts/{account_id}/contacts`
- Auth: none declared

Load names for the people this channel talks to, so conversations are
titled with them. Existing names and conversation ids are kept unless a
new value is given.

With `import_history`, the conversations these contacts already have on
the platform are read into the inbox in the background: what was said
before the channel was connected.

## Path parameters

- `account_id` integer, required

## Request body

- ContactsRequest
  - `contacts` ContactIn[], required
    - `contact_id` string, required
    - `display_name` string, nullable
    - `conversation_id` string, nullable
    - `avatar_url` string, nullable
    - `details` object
  - `import_history` union
    - boolean
    - 'answered' | 'all'

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/dialogbrain/apis/dialogbrain-v2-api-gateway.md) · [All operations](https://skmtc.dev/dialogbrain/apis/dialogbrain-v2-api-gateway/llms.txt) · [OpenAPI document](https://skmtc.dev/dialogbrain/apis/dialogbrain-v2-api-gateway/revisions/d84e7dc9977d?raw)
