ask/engine
API Reference

Snooze an action card

Hide a pending action card for a duration; it returns to the queue when the time elapses.

POST/v1/action-cards/{actionCardId}/snooze

Example

curl -X POST "https://example.com/v1/action-cards/string/snooze" \  -H "Authorization: Bearer $ASKENGINE_API_KEY" \  -H "Content-Type: application/json" \  -d '{    "durationMs": 86400000  }'

Request Body

durationMsnumber

Snooze duration in milliseconds, at most 90 days. There is no un-snooze verb, so out-of-range values are rejected rather than burying the card.

Range<= 7776000000

Response

{  "data": {    "actionCardId": "card_123"  }}