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 does not have an example.

Headers

authorization
string
required

Your API key for authentication. Use Bearer format.

Example:

"Bearer API_KEY"

Path Parameters

id
string
required

ID of the call.

Required string length: 24

Body

application/json
Body

Rating to set

emoji
enum<string>
required

Emoji rating.

Available options:
,
👎,
🚨
email
string
required

The users's email.

operation
enum<string>
required

Operation to perform on the rating.

Available options:
add,
remove
created
string

Date the rating was created.

Example:

"2024-01-01T01:01:01Z"

Response

200
_mintlify/placeholder

200