palbaseDocs

Palbase Messaging · API

PATCH/messaging/scheduled/{scheduled_id}

Change a scheduled message

What a message still to be sent says, or when it goes.

Called by a signed-in user of your app, with their token and the publishable key.

Path

scheduled_idstring (uuid) · requiredThe scheduled message.

Request body

mentionsobject[] · optionalWhom its words name.
send_atstring (date-time) · optionalWhen it goes.
textstring · optionalWhat it will say.
curl
curl -X PATCH "https://<your-ref>.palbase.studio/messaging/scheduled/<scheduled_id>" \
  -H "apikey: $PALBASE_PUBLISHABLE_KEY" \
  -H "authorization: Bearer $USER_ACCESS_TOKEN" \
  -H "content-type: application/json" \
  -d '{"mentions":[{"length":1,"offset":0,"user_id":"string"}],"send_at":"2026-01-01T00:00:00Z","text":"string"}'

Responses

200The scheduled message

400The request is malformed, or a field breaks a rule (the error names which)

401No key, a key of no project, a token not valid (the edge's answer), or no person's session (`user_required`)

404No such scheduled message (`scheduled_not_found`)

409No longer scheduled (`already_sent`, `already_cancelled`, `already_failed`)

413The request body is too large (`request_too_large`)

429Over the project's request limit; Retry-After says when to try again

503Temporarily unavailable; retrying is safe after Retry-After

defaultAn error: the envelope names it (`error`) and explains it (`error_description`).

Operation UpdateScheduled of messaging's contract.