PUT
/
api
/
canned-replies
/
{uuid}
curl --request PUT \
  --url https://swiftchats.axis96.xyz/api/canned-replies/{uuid} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "About Us",
  "trigger": "what do you do?",
  "match_criteria": "contains",
  "response_type": "text",
  "response": "We sell shoes and clothes"
}'
{
  "statusCode": 200,
  "id": "a759be89-6135-4503-8ff2-0c914da21e4a",
  "message": "Request processed successfully"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Body

application/json · object

Response

200 - application/json
OK

The response is of type object.