Create Chat

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Create a new chat conversation and contact record for a phone number in the CRM.

Call this before sending a message to a new contact. If a chat already exists for this phone number on the same channel, a new record will still be created.

**Required steps before calling:**

1. Obtain a JWT via POST

2. Get your channelId from GET /api/wp-crm/channels/:orgIdReturns a chatId — use this in POST /api/wp-crm/messaging/send-message to send messages to this contact.

Body Params
string
required
string
required
string
required
string
required
string
required
string
required
boolean
Defaults to false
Responses

400

Bad request — missing or invalid fields

401

Unauthorized — invalid/expired JWT or organisation ID does not match the token

403

Forbidden — the specified channel does not belong to this organisation

500

Internal server error

Language
Credentials
Bearer
JWT
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json