Contacts

Get Contact

get
/contacts

Get a contact by phone number or email

Authorizations
apiKeystringRequired

Your DM Champ API key. Obtain from Settings → API Keys.

Query parameters
apiKeystringOptional

API key for authentication. At least one of apiKey or userId is required for protected endpoints.

Example: your_api_key
phoneNumberstringOptional

Contact's phone number (must include valid country code)

Example: +1234567890
emailstring · emailOptional

Contact's email address

Example: [email protected]
Responses
chevron-right
200

Contact found

application/json
successbooleanOptionalExample: true
contactIdstringOptionalExample: abc123
get
/contacts

Create New Contact

post
/contacts

Create a new contact with phone number and optional information.

New Feature: You can now optionally add the contact to one or more lists upon creation.

List Assignment Options:

  • Use listId for adding to a single list (simpler for single list case)

  • Use listIds for adding to multiple lists (array format)

  • If both are provided, listIds takes precedence

The API will:

  • Validate that all lists exist

  • Verify you have permission to add contacts to each list

  • Create the contact and add it to the specified lists atomically

If any list validation fails, the contact will not be created.

Authorizations
apiKeystringRequired

Your DM Champ API key. Obtain from Settings → API Keys.

Query parameters
apiKeystringOptional

API key for authentication. At least one of apiKey or userId is required for protected endpoints.

Example: your_api_key
Body
phoneNumberstringRequired

Contact's phone number (must include valid country code)

firstNamestringOptional

Contact's first name

Default: Unknown
lastNamestringOptional

Contact's last name

Default: Unknown
emailstring · emailOptional

Contact's email address

Default: [email protected]
is_bot_activebooleanOptional

Whether the bot is active for this contact

Default: true
listIdstringOptional

Single list ID to add the contact to upon creation

Example: list123
listIdsstring[]Optional

Multiple list IDs to add the contact to upon creation (takes precedence over listId)

Example: ["list123","list456"]
instagramIdstring · nullableOptional

Contact's Instagram ID

currentCampaignstring · nullableOptional

Current campaign identifier

currentCampaignDataobject · nullableOptional

Data associated with current campaign

channelstring · nullableOptional

Communication channel

isChatWindowOpenbooleanOptional

Whether chat window is open

Default: false
externalIdstring · nullableOptional

External identifier

customChannelstring · nullableOptional

Custom channel identifier

chatWidgetIdstring · nullableOptional

Chat widget identifier

do_not_disturbbooleanOptional

Whether the contact should not be disturbed

Default: false
Responses
chevron-right
200

Contact created successfully

application/json
successbooleanOptionalExample: true
post
/contacts

Update Contact

put
/contacts/{contactId}

Update an existing contact's information

Authorizations
apiKeystringRequired

Your DM Champ API key. Obtain from Settings → API Keys.

Path parameters
contactIdstringRequired

ID of the contact to update

Query parameters
apiKeystringOptional

API key for authentication. At least one of apiKey or userId is required for protected endpoints.

Example: your_api_key
Body
firstNamestringOptional

Contact's first name

lastNamestringOptional

Contact's last name

emailstring · emailOptional

Contact's email address

is_bot_activebooleanOptional

Whether the bot is active for this contact

do_not_disturbbooleanOptional

Whether the contact should not be disturbed

Responses
chevron-right
200

Contact updated successfully

application/json
successbooleanOptionalExample: true
messagestringOptionalExample: Contact updated successfully
put
/contacts/{contactId}

Add Contact To List

post
/contacts/lists

Add a specific contact to a list

Authorizations
apiKeystringRequired

Your DM Champ API key. Obtain from Settings → API Keys.

Query parameters
apiKeystringOptional

API key for authentication. At least one of apiKey or userId is required for protected endpoints.

Example: your_api_key
Body
contactIdstringRequired

ID of the contact to add to the list

listIdstringRequired

ID of the list to add the contact to

Responses
chevron-right
200

Contact added to list successfully

application/json
successbooleanOptionalExample: true
messagestringOptionalExample: Contact successfully added to list My List
post
/contacts/lists

Remove Contact From List

delete
/contacts/lists

Remove a specific contact from a list

Authorizations
apiKeystringRequired

Your DM Champ API key. Obtain from Settings → API Keys.

Query parameters
apiKeystringOptional

API key for authentication. At least one of apiKey or userId is required for protected endpoints.

Example: your_api_key
contactIdstringRequired

ID of the contact to remove from the list

Example: contact123
listIdstringRequired

ID of the list to remove the contact from

Example: list456
Responses
chevron-right
200

Contact removed from list successfully

application/json
successbooleanOptionalExample: true
messagestringOptionalExample: Contact successfully removed from list My List
delete
/contacts/lists

Get Contact Tags

get
/contacts/tags/{contactId}

Get all tags associated with a contact

Authorizations
apiKeystringRequired

Your DM Champ API key. Obtain from Settings → API Keys.

Path parameters
contactIdstringRequired

ID of the contact to get tags for

Query parameters
apiKeystringOptional

API key for authentication. At least one of apiKey or userId is required for protected endpoints.

Example: your_api_key
Responses
chevron-right
200

List of contact tags

application/json
namestringRequired

Tag name

descriptionstringOptional

Tag description

get
/contacts/tags/{contactId}

Get Contact Messages

get
/contacts/messages/{contactId}

Retrieve messages for a specific contact

Authorizations
apiKeystringRequired

Your DM Champ API key. Obtain from Settings → API Keys.

Path parameters
contactIdstringRequired

ID of the contact to get messages for

Query parameters
apiKeystringOptional

API key for authentication. At least one of apiKey or userId is required for protected endpoints.

Example: your_api_key
Responses
chevron-right
200

List of messages

application/json
successbooleanOptionalExample: true
get
/contacts/messages/{contactId}

Last updated

Was this helpful?