Snooze a single thread until a specified date
const url = 'https://open-api.replyco.com/openapi/thread/snoozethread';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json-patch+json'}, body: '{ "threadId": "b2f8d4a1-6e3c-4b9f-8d7a-5a1c3e9f2b64", "snoozeUntil": "2026-10-28T09:00:00Z" }'};
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://open-api.replyco.com/openapi/thread/snoozethread \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json-patch+json' \ --data '{ "threadId": "b2f8d4a1-6e3c-4b9f-8d7a-5a1c3e9f2b64", "snoozeUntil": "2026-10-28T09:00:00Z" }'Temporarily hides a single ticket from the active queue until a specified date/time. The snoozed ticket will automatically reappear when the snooze date is reached.
Requirements:
- Snooze date must be in the future
- Minimum snooze duration: 1 hour
- Maximum snooze duration: 365 days
To unsnooze: Set SnoozeUntil to null
Authorizations
Section titled “Authorizations”Request Body
Section titled “Request Body”Request containing thread ID and snooze date
object
The ID of the thread to snooze
The date and time until which the thread should be snoozed. Use null to unsnooze.
Example
{ "threadId": "b2f8d4a1-6e3c-4b9f-8d7a-5a1c3e9f2b64", "snoozeUntil": "2026-10-28T09:00:00Z"}object
The ID of the thread to snooze
The date and time until which the thread should be snoozed. Use null to unsnooze.
Example generated
{ "threadId": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "snoozeUntil": "2026-04-15T12:00:00Z"}object
The ID of the thread to snooze
The date and time until which the thread should be snoozed. Use null to unsnooze.
Example generated
{ "threadId": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "snoozeUntil": "2026-04-15T12:00:00Z"}object
The ID of the thread to snooze
The date and time until which the thread should be snoozed. Use null to unsnooze.
Example generated
{ "threadId": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "snoozeUntil": "2026-04-15T12:00:00Z"}Responses
Section titled “Responses”Thread was successfully snoozed
Invalid request (e.g., past date, invalid date range)
User is not authenticated or authorized
Thread with the specified ID was not found