PATCH
/
calls
/
{id}
/
ratings
curl --request PATCH \
  --url https://app.happyrobot.ai/api/v1/calls/{id}/ratings \
  --header 'Content-Type: application/json' \
  --header 'authorization: <authorization>' \
  --data '{
  "emoji": "✅",
  "email": "jsmith@example.com",
  "created": "2024-01-01T01:01:01Z",
  "operation": "add"
}'
This response has no body data.

Headers

authorization
string
required

Your API key for authentication. Use Bearer format.

Path Parameters

id
string
required

ID of the call.

Body

application/json
emoji
enum<string>
required

Emoji rating.

Available options:
,
👎,
🚨
email
string
required

The users's email.

created
string

Date the rating was created.

operation
enum<string>
required

Operation to perform on the rating.

Available options:
add,
remove