Notifications
Get notification
Retrieve a single notification by ID, including the recipient, actor, and all delivery attempts.
Authorization
ApiKeyAuth SecretKeyAuth x-notiflows-api-key<token>
Your project's public API key. Found in Project Settings. Starts with pk_.
In: header
x-notiflows-secret-key<token>
Your project's secret key. Found in Project Settings. Starts with sk_. Keep this secret!
In: header
Path Parameters
id*string
Notification ID (UUID)
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://api.notiflows.com/admin/notifications/01HQXYZ123456789ABCDEFGHIJ"{
"actor": {
"avatar": "https://example.com/avatars/jane.jpg",
"created_at": "2024-01-15T10:30:00Z",
"custom_fields": {
"company": "Acme Inc",
"plan": "premium"
},
"email": "jane.doe@example.com",
"external_id": "user_12345",
"first_name": "Jane",
"id": "01HQXYZ123456789ABCDEFGHIJ",
"last_name": "Doe",
"locale": "en-US",
"phone": "+15551234567",
"timezone": "America/New_York",
"updated_at": "2024-01-20T14:45:00Z"
},
"actor_id": "04f37679-bfbf-4906-b749-01756515cecf",
"created_at": "2019-08-24T14:15:22Z",
"data": {
"order_id": "ORD-12345",
"total": "$99.99"
},
"deliveries": [
{
"actor_id": "04f37679-bfbf-4906-b749-01756515cecf",
"archived_at": "2019-08-24T14:15:22Z",
"channel_id": "bbe8aa76-a4bb-46f6-a785-df8e831cc459",
"channel_type": "in_app",
"clicked_at": "2019-08-24T14:15:22Z",
"created_at": "2019-08-24T14:15:22Z",
"data": {
"body": "Order ORD-12345 is on its way.",
"subject": "Your order shipped!"
},
"id": "01HQXYZ123456789ABCDEFGHIJ",
"notification_id": "f96afe21-aef9-465c-a9f6-813055655b04",
"notiflow_id": "d74aa67e-7f71-4dba-be64-9b94d47ae12a",
"read_at": "2019-08-24T14:15:22Z",
"recipient_id": "b6731cb5-d462-49ea-afb8-7933b670b560",
"seen_at": "2019-08-24T14:15:22Z",
"sent_at": "2019-08-24T14:15:22Z",
"status": "pending",
"topic": "string",
"updated_at": "2019-08-24T14:15:22Z"
}
],
"id": "01HQXYZ123456789ABCDEFGHIJ",
"notiflow_id": "d74aa67e-7f71-4dba-be64-9b94d47ae12a",
"notiflow_run_id": "d0288227-c772-498b-9c6e-c35b47a2783d",
"processed_at": "2019-08-24T14:15:22Z",
"recipient": {
"avatar": "https://example.com/avatars/jane.jpg",
"created_at": "2024-01-15T10:30:00Z",
"custom_fields": {
"company": "Acme Inc",
"plan": "premium"
},
"email": "jane.doe@example.com",
"external_id": "user_12345",
"first_name": "Jane",
"id": "01HQXYZ123456789ABCDEFGHIJ",
"last_name": "Doe",
"locale": "en-US",
"phone": "+15551234567",
"timezone": "America/New_York",
"updated_at": "2024-01-20T14:45:00Z"
},
"recipient_id": "b6731cb5-d462-49ea-afb8-7933b670b560",
"status": "pending",
"topic": "order-updates",
"updated_at": "2019-08-24T14:15:22Z"
}{
"error": {
"code": "not_found",
"details": {
"allowed_statuses": [
"string"
],
"allowed_transitions": [
"string"
],
"auth": "api_key",
"current_status": "string",
"fields": [
{
"field": "email",
"message": "can't be blank",
"reason": "required"
}
],
"id": "string",
"idempotency_key": "string",
"limit": 0,
"param": "string",
"reason": "string",
"required_scope": "string",
"resource": "string",
"retry_after": 0,
"window": "string"
},
"message": "User not found",
"request_id": "req_abc123",
"status": 404,
"type": "https://docs.notiflows.com/errors/not_found"
}
}{
"error": {
"code": "not_found",
"details": {
"allowed_statuses": [
"string"
],
"allowed_transitions": [
"string"
],
"auth": "api_key",
"current_status": "string",
"fields": [
{
"field": "email",
"message": "can't be blank",
"reason": "required"
}
],
"id": "string",
"idempotency_key": "string",
"limit": 0,
"param": "string",
"reason": "string",
"required_scope": "string",
"resource": "string",
"retry_after": 0,
"window": "string"
},
"message": "User not found",
"request_id": "req_abc123",
"status": 404,
"type": "https://docs.notiflows.com/errors/not_found"
}
}{
"error": {
"code": "not_found",
"details": {
"allowed_statuses": [
"string"
],
"allowed_transitions": [
"string"
],
"auth": "api_key",
"current_status": "string",
"fields": [
{
"field": "email",
"message": "can't be blank",
"reason": "required"
}
],
"id": "string",
"idempotency_key": "string",
"limit": 0,
"param": "string",
"reason": "string",
"required_scope": "string",
"resource": "string",
"retry_after": 0,
"window": "string"
},
"message": "User not found",
"request_id": "req_abc123",
"status": 404,
"type": "https://docs.notiflows.com/errors/not_found"
}
}{
"error": {
"code": "not_found",
"details": {
"allowed_statuses": [
"string"
],
"allowed_transitions": [
"string"
],
"auth": "api_key",
"current_status": "string",
"fields": [
{
"field": "email",
"message": "can't be blank",
"reason": "required"
}
],
"id": "string",
"idempotency_key": "string",
"limit": 0,
"param": "string",
"reason": "string",
"required_scope": "string",
"resource": "string",
"retry_after": 0,
"window": "string"
},
"message": "User not found",
"request_id": "req_abc123",
"status": 404,
"type": "https://docs.notiflows.com/errors/not_found"
}
}{
"error": {
"code": "not_found",
"details": {
"allowed_statuses": [
"string"
],
"allowed_transitions": [
"string"
],
"auth": "api_key",
"current_status": "string",
"fields": [
{
"field": "email",
"message": "can't be blank",
"reason": "required"
}
],
"id": "string",
"idempotency_key": "string",
"limit": 0,
"param": "string",
"reason": "string",
"required_scope": "string",
"resource": "string",
"retry_after": 0,
"window": "string"
},
"message": "User not found",
"request_id": "req_abc123",
"status": 404,
"type": "https://docs.notiflows.com/errors/not_found"
}
}