DELETE
/
calls
/
{id}
/
notes
/
{noteId}

Headers

authorization
string
required

Your API key for authentication. Use Bearer format.

Path Parameters

id
string
required

ID of the call.

Required string length: 24
noteId
string
required

ID of the note.

Response

200 - application/json
id
string
required

Unique identifier for the call.

organization_id
string
required

Organization ID.

type
enum<string>
required

Type of the call.

Available options:
Inbound,
Outbound
status
enum<string>
required

Status of the call.

Available options:
Scheduled,
Queued,
Initiated,
Ringing,
In progress,
Transferred,
Completed,
AMD Terminated,
Busy,
No answer,
Canceled,
Failed
provider
enum<string>
required

Provider of the call.

Available options:
Twilio,
Web,
Chat
metadata
object
required

Call metadata.

use_case
object
required

Use case that handled the call.

agent
object
required

Agent that handled the call.

language
enum<string>
required

Language of the call.

Available options:
en-US,
en-GB,
es-MX,
es-ES,
pt-PT,
de-DE,
fr-FR,
pl-PL,
ro-RO,
it-IT
created
string
required

Date the call was created.

viewed_by
string[]
required

User emails that have viewed the call in the Happyrobot App.

prompt_id
string

Prompt ID.

params
object

Dynamic parameters to inject into the templated use case prompt.

extraction
object

AI extracted data from the call.

classification
object

Tag classification of the call.

duration
number

Duration of the call in seconds.

parent_call_id
string

Parent call ID in the case of repeated calls.

notes
object[]

Notes associated with the call.

samples
string[]

Sample IDs that are associated with the call.

ratings
object[]

Ratings emojis associated with the call.

scheduled_for
string

ISO 8601 UTC datetime the call is scheduled for.

use_backup
boolean

Whether the backup model was used.

wait_until_awake
boolean

Whether the call should wait until the model is awake.

campaign_id
string

Campaign ID.

max_duration_mins
integer

Specifies the maximum duration of the call in minutes. This value takes precedence over the maximum duration specified in the use-case. If neither is provided, the default duration is 10 minutes.

transfer_contact_email
string

Email of the transfer contact.

costs
object

Costs associated with the call.