Create a read receipt
POST
/v1/notifications/{id}/read-receiptscurl -X POST 'https://api.embodiflow.io/v1/notifications/{id}/read-receipts' \
-H 'Authorization: Bearer $EMBODIFLOW_PAT'Authorization
Send a personal access token with every request.
- Authorization: Bearer PAT
Path parameters
- idstringrequired
Header parameters
- Idempotency-Keystring
Optional idempotency key, at most 255 characters (UUIDv4 recommended). A repeated key returns the first response byte-for-byte, including a 5xx. The same key with a different body, or a second in-flight request, returns 409 IDEMPOTENCY_CONFLICT. Keys are unique per tenant and retained for 24 hours.
Responses
Success
- dataobjectrequired
- idstring (uuid)required
- eventIdstring (uuid)required
- eventTypestringrequired
- resourceTypestringrequired
- resourceIdstring (uuid)required
- projectIdstring (uuid) | nullrequired
- occurredAtstringrequired
- readbooleanrequired
- truncatedbooleanrequired
- hrefstring | nullrequired
- resourceLabelstring | null
- projectNamestring | null
- resourceStatusstring | null
- versionNumbernumber
Dataset version number for `version` and `export` notifications.
- exportFormatstring
Export format slug for `export` notifications.
- countnumberrequired
Response example
{
"data": {
"id": "00000000-0000-0000-0000-000000000000",
"eventId": "00000000-0000-0000-0000-000000000000",
"eventType": "string",
"resourceType": "string",
"resourceId": "00000000-0000-0000-0000-000000000000",
"projectId": "00000000-0000-0000-0000-000000000000",
"occurredAt": "string",
"read": true,
"truncated": true,
"href": "string",
"resourceLabel": "string",
"projectName": "string",
"resourceStatus": "string",
"versionNumber": 0,
"exportFormat": "string",
"count": 0
}
}Servershttps://api.embodiflow.io/v1https://api.embodiflow.dev/v1