AI bots

Cancel the AI's scheduled wake-up in a conversation

deletehttps://api.whatsable.app/v1/conversations/{id}/wake-up
Build a request to copy

This page never sends a request. Fill in the fields, then copy the request and run it from your server.

Request
curl -X DELETE 'https://api.whatsable.app/v1/conversations/string/wake-up'

Cancels the pending wake-up, so the bot does not act on this conversation at that date. Calling it with none pending is safe and answers cancelled: false.

Authorization

bearerAuth
headerAuthorizationBearer <nfy_live_<32 characters>>

An API key from Settings > API keys, sent as Authorization: Bearer <key>.

Path Parameters

id*string

The conversation id.

Length1 <= length <= 64

Response Body

Whether a wake-up was cancelled.

application/json
  1. response

Whether a pending wake-up was cancelled.

object*string
conversation_id*string
Length1 <= length <= 64
cancelled*boolean

True when a pending wake-up is now cancelled. False when none was pending.

wake_up_id*|

The wake-up that was cancelled. Null when none was pending.

Example Request
curl -X DELETE 'https://api.whatsable.app/v1/conversations/string/wake-up'
Example Response
{  "object": "wake_up_cancellation",  "conversation_id": "cm2v8c1a00001qz8h4t5u6v7w",  "cancelled": true,  "wake_up_id": "cm3a1b2c30001qz8hwak10001"}