Quick Example
curl --request POST \
--url https://bobops.net/api/incoming_webhook \
--header 'Authorization: Bearer YOUR_API_TOKEN' \
--header 'Content-Type: application/json' \
--data '{"text": "*Status all green! 🟢*"}'
Request
Headers
| Key | Value | Description | |
|---|
Authorization | Bearer YOUR_API_TOKEN | Provide the API token that is generated when you create the Webhook | Required |
Content-Type | application/json | Only application/json is currently supported | Required |
Response
Status Codes
| Status code | Description |
|---|
200 | Message sent successfully |
400 | Invalid JSON or missing "text" field |
401 | Invalid or missing Authorization header |
404 | Webhook not found, not connected, or bot lacks permissions |