NEXUS / APIBot Platform v2.3
USER-KEY:
Developer Portal
POST/api/v1/bot/interactions.php

Respond to command/component/modal interaction

Request Body

application/json
{
    "interaction_id": 1,
    "type": "channel_message",
    "data": []
}

Example Request

cURL
curl -X POST 'https://nexuschatly.com/api/v1/bot/interactions.php' \
  -H 'Authorization: Bot nx_bot_...' \
  -H 'Content-Type: application/json' \
  -d '{
    "interaction_id": 1,
    "type": "channel_message",
    "data": []
}'

Responses

200Successful response
400Error response
401Error response
403Error response
429Error response