Endpoint
Request
Headers
| Header | Required | Description |
|---|---|---|
X-API-Key | Yes | Your API key |
Content-Type | Yes | application/json |
Body
Email addresses of the recipients. Must match users registered in your NextKS organization. Maximum 50 entries.
The message text to send. Supports basic markdown:
*bold*, _italic_, `code`, code blocks, and lists. Maximum 4000 characters.Use \n for line breaks. In Teams, each line is rendered as a separate text block for proper spacing.An optional identifier from your system (e.g., ticket ID, deployment ID). Maximum 200 characters. Returned in status queries and callbacks for correlation.
To send interactive notifications with response buttons, include the
response_request field — see Interactive Notifications.Response
"ok" on success, "error" on failure.Success (200)
Errors
| Status | Details |
|---|---|
400 | Invalid request body or unknown user emails |
401 | Invalid API key |
429 | Rate limit exceeded |
500 | Delivery failure |
Example
Message formatting
Themessage field supports markdown that renders natively on both Slack and Teams:
| Syntax | Result |
|---|---|
*bold* | bold |
_italic_ | italic |
`code` | code |
```code block``` | Code block |
- item | Bullet list |
[Link text](https://...) | Clickable link |
\n | Line break |