Preview block reminder delivery
const url = 'https://example.com/api/v1/notifications/reminders/preview';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"audience":"example","instant":"example","note_id":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://example.com/api/v1/notifications/reminders/preview \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "audience": "example", "instant": "example", "note_id": "example" }'Show who will receive a block reminder for a Note at the requested time. Set audience to everyone or only_me. The response shows each person’s local time and whether quiet hours delay delivery. Route: /api/v1/notifications/reminders/preview. Inputs: . Do not automatically replay this operation after an uncertain result.
Authorizations
Section titled “Authorizations”Request Bodyrequired
Section titled “Request Bodyrequired”object
everyone or only_me.
Absolute trigger time as a bounded RFC 3339 instant.
Stable Note ID owned by the authenticated User.
Examplegenerated
{ "audience": "example", "instant": "example", "note_id": "example"}Responses
Section titled “Responses”object
Current internal Share recipients and their local delivery state.
object
True when quiet hours delay this recipient’s delivery.
Stable User identity for this preview row.
Display name of the recipient, or “You” for the person setting it.
Local date and time for this absolute instant.
IANA time zone used to render this recipient’s delivery time.
Examplegenerated
{ "recipients": [ { "held_by_quiet_hours": true, "id": "example", "label": "example", "local_time": "example", "zone": "example" } ]}The standard API error response: { "error": { ... } }.
object
Example
{ "error": { "code": "bad_request" }}The standard API error response: { "error": { ... } }.
object
Example
{ "error": { "code": "bad_request" }}The standard API error response: { "error": { ... } }.
object
Example
{ "error": { "code": "bad_request" }}The standard API error response: { "error": { ... } }.
object
Example
{ "error": { "code": "bad_request" }}