Download OpenAPI specification:
The notification module's HTTP API. All paths live under /api/notification with the major version in the path (/v1). Outbound delivery (webhook POST, SMTP) is at-least-once, never exactly-once or at-most-once. Every outbound delivery carries a stable per-job idempotency key (X-Kiban-Delivery-Id on webhook POSTs; Message-Id on SMTP) so receivers can dedupe a redelivery of the same job.
| companyId required | string <uuid> |
| page | integer >= 1 Default: 1 |
| pageSize | integer [ 1 .. 100 ] Default: 25 |
{- "data": {
- "items": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "companyId": "8bb73d03-06b4-47c7-80c7-59301f770eda",
- "key": "string",
- "label": "string",
- "kind": "in_app",
- "target": "string",
- "createdAt": "2019-08-24T14:15:22Z"
}
], - "total": 0,
- "page": 0,
- "pageSize": 0,
- "totalPages": 0
}
}| companyId required | string <uuid> |
| key required | string |
| label required | string |
| kind required | string Enum: "in_app" "email" "webhook" |
| target | string or null |
{- "key": "string",
- "label": "string",
- "kind": "in_app",
- "target": "string"
}{- "data": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "companyId": "8bb73d03-06b4-47c7-80c7-59301f770eda",
- "key": "string",
- "label": "string",
- "kind": "in_app",
- "target": "string",
- "createdAt": "2019-08-24T14:15:22Z"
}
}| companyId required | string <uuid> |
| channelId required | string <uuid> |
{- "data": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "companyId": "8bb73d03-06b4-47c7-80c7-59301f770eda",
- "key": "string",
- "label": "string",
- "kind": "in_app",
- "target": "string",
- "createdAt": "2019-08-24T14:15:22Z"
}
}| companyId required | string <uuid> |
| channelId required | string <uuid> |
string or null |
{- "email": "string"
}{- "error": {
- "code": "string",
- "message": "string",
- "details": null
}
}| companyId required | string <uuid> |
| page | integer >= 1 Default: 1 |
| pageSize | integer [ 1 .. 100 ] Default: 25 |
{- "data": {
- "items": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "companyId": "8bb73d03-06b4-47c7-80c7-59301f770eda",
- "channelId": "5f6d08bc-455a-4532-98b8-19e2cee51160",
- "subjectLine": "string",
- "body": "string",
- "createdBy": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "readAt": "2019-08-24T14:15:22Z"
}
], - "total": 0,
- "page": 0,
- "pageSize": 0,
- "totalPages": 0
}
}| companyId required | string <uuid> |
| Idempotency-Key | string <= 200 characters |
| channelId required | string <uuid> |
| subjectLine required | string [ 1 .. 200 ] characters 1..200 characters; must not contain control characters. |
| body required | string |
{- "channelId": "5f6d08bc-455a-4532-98b8-19e2cee51160",
- "subjectLine": "string",
- "body": "string"
}{- "data": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "companyId": "8bb73d03-06b4-47c7-80c7-59301f770eda",
- "channelId": "5f6d08bc-455a-4532-98b8-19e2cee51160",
- "subjectLine": "string",
- "body": "string",
- "createdBy": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "readAt": "2019-08-24T14:15:22Z"
}
}| companyId required | string <uuid> |
| messageId required | string <uuid> |
{- "data": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "companyId": "8bb73d03-06b4-47c7-80c7-59301f770eda",
- "channelId": "5f6d08bc-455a-4532-98b8-19e2cee51160",
- "subjectLine": "string",
- "body": "string",
- "createdBy": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "readAt": "2019-08-24T14:15:22Z"
}
}| companyId required | string <uuid> |
{- "data": {
- "sent": 0,
- "skipped": 0
}
}