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
agent
object
required

Agent that handled the call.

created
string
required

Date the call was created.

id
string
required

Unique identifier for 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
metadata
object
required

Call metadata.

organization_id
string
required

Organization ID.

provider
enum<string>
required

Provider of the call.

Available options:
Twilio,
Web,
Chat
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
type
enum<string>
required

Type of the call.

Available options:
Inbound,
Outbound
use_case
object
required

Use case that handled the call.

viewed_by
string[]
required

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

campaign_id
string

Campaign ID.

classification
object

Tag classification of the call.

costs
object

Costs associated with the call.

duration
number

Duration of the call in seconds.

extraction
object

AI extracted data from the call.

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.

notes
object[]

Notes associated with the call.

params
object

Dynamic parameters to inject into the templated use case prompt.

parent_call_id
string

Parent call ID in the case of repeated calls.

prompt_id
string

Prompt ID.

ratings
object[]

Ratings emojis associated with the call.

samples
string[]

Sample IDs that are associated with the call.

scheduled_for
string

ISO 8601 UTC datetime the call is scheduled for.

transfer_contact_email
string

Email of the transfer contact.

use_backup
boolean

Whether the backup model was used.

wait_until_awake
boolean

Whether the call should wait until the model is awake.