Ricky logorickyDocs

Update a quick reply

PATCH
/quick-replies/{quick_reply_id}

Changes only the fields in the body. A title already in use, in any case, answers 409 conflict.

Scope: quick_replies:write.

Authorization

bearerAuth
headerAuthorizationBearer <token>

An organization API key, rky_live_…, created in Settings → API. Send it only from a server.

quick_reply_id*string

Quick reply ID.

Formatuuid
Idempotency-Key?string

Optional. A value you choose, unique per logical write, 8–200 characters: a UUID or an ID from your system such as order-10482-ready. Retrying with the same key and body replays the first response instead of repeating the write.

Length8 <= length <= 200

Request Body

application/json
  1. body

Only the fields you send change.

title?string

Name operators pick it by, unique in the organization regardless of case.

Length1 <= length <= 80
body?string

Text inserted into the message.

Length1 <= length <= 4096

Response Body

Success.

application/json
  1. response
data*

A saved answer operators insert into a message.

curl -X PATCH 'https://getricky.ai/api/v1/quick-replies/497f6eca-6276-4993-bfeb-53cbbbba6f08' \  -H 'Idempotency-Key: order-10482-ready' \  -H 'Content-Type: application/json' \  -d '{  "body": "Abrimos de lunes a domingo, de 9:00 a. m. a 8:00 p. m."}'
{  "data": {    "id": "0f1e2d3c-4b5a-4968-8776-a5b4c3d2e1f0",    "title": "Horario",    "body": "Abrimos de lunes a sábado, de 9:00 a. m. a 6:00 p. m."  }}