GoHighLevel Conversations API

Add An Inbound Message

POST/conversations/messages/inbound

POST /conversations/messages/inbound Post the necessary fields for the API to add a new inbound message. It takes 17 body fields, requires the conversations/message.write scope and authenticates with a sub-account (location) token.

Request and authentication

Method
POST
Full URL
https://services.leadconnectorhq.com/conversations/messages/inbound
Scopes
conversations/message.write
Token type
Sub-account (location) token
Accepted auth
OAuth Access Token, Private Integration Token
API version header
Version: 2021-07-28
Schema verified
7 November 2026

Notes from the field

  • This endpoint RECORDS a message in the conversation timeline and transmits NOTHING. Use it to log messages a business sent or received through a system GHL is not integrated with (e.g. an outside email provider). To actually deliver a message, use conversations/send-a-new-message instead.
  • `direction` defaults to 'inbound', NOT 'outbound' as the schema's `default` claims. To log a message the BUSINESS SENT, you MUST pass `direction: 'outbound'` explicitly — omitting it logs the message backwards with no error.
  • `conversationProviderId` is NOT required for `type: 'Email'`, despite appearing in the schema's `required` list. Omit it. No marketplace app and no conversation provider setup is needed for email logging.
  • `conversationId` is also optional — pass `contactId` alone and GHL creates the conversation for you.
  • `emailTo` IS required for `type: 'Email'` even though the schema leaves it out of `required` (omitting it returns 400 CONVERSATIONS_MSG_EMAILTO_REQUIRED). Pass `emailFrom` alongside it.
  • `emailFrom` and `emailTo` DO accept arbitrary addresses — ignore the schema note claiming they are pinned to the contact record. Setting `emailFrom` to the external provider's address is how that address shows up on the logged message.
  • Pass `date` (ISO 8601) to backdate a historical import — it sets `dateAdded` verbatim, so backfilled messages sort correctly. Pass `altId` to store the external provider's own message id as a correlation/idempotency key.
  • Logged email records stay at `status: 'pending'`. conversations/update-message-status cannot clear it: GHL restricts that route to conversation-provider marketplace app tokens, so it returns 403 for PIT and ordinary OAuth tokens even with conversations/message.write granted.

Request body

JSON body fields. Nested objects are shown indented under their parent.

NameTypeDescription
typerequiredstring

Message Type

One of: SMS, RCS, Email, WhatsApp, GMB, IG, FB, Custom, WebChat, Live_Chat, Call, IVR_Call, Campaign_Call, Campaign_VoiceMail, TIKTOK, ALL_IN_ONE_CHAT, FORM_SUBMISSION

Example: SMS

attachmentsarray

Array of attachments

messagestring

Message Body

conversationIdrequiredstring

Conversation Id

Example: ve9EPM428h8vShlRW1KT

contactIdrequiredstring

Contact Id

Example: ve9EPM428h8vShlRW1KT

conversationProviderIdrequiredstring

Conversation Provider Id

Example: 61d6d1f9cdac7612faf80753

htmlstring

HTML Body of Email

subjectstring

Subject of the Email

emailFromstring

Email address to send from. This field is associated with the contact record and cannot be dynamically changed.

Example: sender@company.com

emailTostring

Recipient email address. This field is associated with the contact record and cannot be dynamically changed.

emailCcarray

List of email address to CC

Example: john1@doe.com,john2@doe.com

emailBccarray

List of email address to BCC

Example: john1@doe.com,john2@doe.com

emailMessageIdstring

Send the email message id for which this email should be threaded. This is for replying to a specific email

altIdstring

external mail provider's message id

Example: 61d6d1f9cdac7612faf80753

directionobject

Message direction, if required can be set manually, default is outbound

Example: outbound,inbound

datestring

Date of the inbound message

callunknown

Phone call dialer and receiver information

Response fields

Top-level fields returned on a successful call.

NameTypeDescription
successrequiredboolean—
conversationIdrequiredstring

Conversation ID.

Example: ABC12h2F6uBrIkfXYazb

messageIdrequiredstring

This is the main Message ID

Example: t22c6DQcTDf3MjRhwf77

messagerequiredstring—
contactIdstring—
dateAddedstring—
emailMessageIdstring—

Example request

Copy-paste ready. Swap YOUR_TOKEN for your access token or Private Integration Token.

curl -X POST 'https://services.leadconnectorhq.com/conversations/messages/inbound' \
  -H 'Authorization: Bearer YOUR_TOKEN' \
  -H 'Version: 2021-07-28' \
  -H 'Content-Type: application/json' \
  -d '{
    "type": "SMS",
    "conversationId": "ve9EPM428h8vShlRW1KT",
    "contactId": "ve9EPM428h8vShlRW1KT",
    "conversationProviderId": "61d6d1f9cdac7612faf80753"
  }'

Skip the schema lookup

Hylo gives your AI agent this schema — and the other 53 documented here — without you looking anything up. Ask in plain English; it picks the endpoint, fills the body, and can run the call against your own sub-account.

More conversations endpoints