Skip to main content
POST
/
workspaces
/
{workspace}
/
contacts
/
{contact}
/
messages
/
text
Text Message
curl --request POST \
  --url https://lancepilot.com/api/v3/workspaces/{workspace}/contacts/{contact}/messages/text \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "text": {
    "body": "this is test text message"
  }
}'
{
  "status": 201,
  "message": "Resource created successfully.",
  "data": {}
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

workspace
string<uuid>
required

ID of the workspace.

contact
string<uuid>
required

ID of the contact.

Body

application/json

Message sending parameters.

text
object
required

Response

status
integer
required
Example:

201

message
string
required
Example:

"Resource created successfully."

data
object
required

Created resource data.