Blog
Github
  1. Message
  • Getting Started
    • Introduction
    • Quickstart
    • Authentication
    • Status codes
  • Webhook
    • Webhook Setup
    • Webhook Events and Schema
  • API Reference
    • Contact
      • Listing
      • Create
      • Filter By SocialPlatformId
      • Form Fields
      • Detail
      • Update
      • Delete
      • Fetch Contact Groups
      • Update tags
    • Tag
      • Listing
    • Channel
      • Listing
      • Create
    • Ticket
      • Listing
      • Create
      • Filter by Contact ID
      • Form Fields
      • Update
      • Update status
    • Category
      • Listing
    • CxLog
      • Listing
    • Message
      • Send message
        POST
Blog
Github
  1. Message

Send message

POST
/api/v1/messages/send
This endpoint allows you to send an outgoing message to a specific contact via the Klink platform.

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Body Params application/jsonRequired

Examples

Responses

🟢200
application/json
Body

🟠400
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://apigw.klinkcx.com/api/v1/messages/send' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
    "contactId": "81d8f399-e4d3-4fd4-a8ec-61bb3c3dc8c4",
    "messageType": "text",
    "message": "It is your message.",
    "createdAt": "2026-01-08T16:03:39.923Z"
}'
Response Response Example
200 - Success
{
    "status": 200,
    "message": "Message sent successfully",
    "data": {
        "id": "d67e9807-04fe-4a4f-b232-3d4da5e73ea8",
        "createdAt": "2026-01-08T16:34:34.542193005Z",
        "updatedAt": "2026-01-08T16:34:34.542193005Z",
        "deletedAt": null,
        "clientRequestId": "",
        "partition_key": "2026_01",
        "message": "message from api2",
        "direction": "outgoing",
        "type": "text",
        "readAt": null,
        "metadata": {},
        "platformId": "U609e2a98e768abcab46f3370dbe73449",
        "platformMessageId": "595689768738881555",
        "replyPlatformMessageId": null,
        "replyReaction": null,
        "linkMessageId": null,
        "linkMessagePartitionKey": null,
        "template": null,
        "locale": "",
        "url": "",
        "previewUrl": "",
        "imageSetId": "",
        "roomId": "a5786859-79c6-4fc4-a924-c1d14c36c6af",
        "room": {},
        "actorId": null,
        "actorType": "api",
        "actor": null,
        "uploadId": null,
        "senderId": null,
        "workflowRule": null,
        "assigneeId": null,
        "assignee": null,
        "repliedMessage": null,
        "editedMessageId": null,
        "editedMessagePartitionKey": null,
        "editedMessage": null,
        "isEdited": false,
        "editedAt": null,
        "label": "",
        "contactId": null,
        "receiverMetadata": null,
        "attachments": null
    }
}
Modified at 2026-01-09 05:45:12
Previous
Listing
Built with