Skip to main content
POST
/
messages
/
interactive
/
order_status
Send interactive order status message
curl --request POST \
  --url https://messenger-public-api.cogfy.com/messages/interactive/order_status \
  --header 'Content-Type: application/json' \
  --header 'api-key: <api-key>' \
  --data '{
  "from": "<string>",
  "to": "<string>",
  "interactive": {
    "type": "order_status",
    "header": {
      "type": "image"
    },
    "body": {
      "text": "<string>"
    },
    "footer": {
      "text": "<string>"
    },
    "action": {
      "name": "review_order",
      "parameters": {
        "reference_id": "<string>",
        "order": {
          "status": "pending",
          "description": "<string>"
        },
        "payment": {
          "status": "pending",
          "timestamp": 123
        }
      }
    }
  }
}'
{
  "id": "<string>"
}

Authorizations

api-key
string
header
required

Body

application/json
from
string
to
string
interactive
object

Response

200 - application/json
id
string