Skip to main content
POST
/
messages
/
text
Send text message
curl --request POST \
  --url https://messenger-public-api.cogfy.com/messages/text \
  --header 'Content-Type: application/json' \
  --header 'api-key: <api-key>' \
  --data '{
  "from": "<string>",
  "to": "<string>",
  "text": {
    "body": "<string>"
  }
}'
{
  "id": "<string>"
}

Authorizations

api-key
string
header
required

Body

application/json
from
string
to
string
text
object

Response

200 - application/json
id
string