Skip to main content
POST
/
api
/
v1
/
ghl
/
calls
/
data
Save Call Data
curl --request POST \
  --url https://api.ravan.ai/api/v1/ghl/calls/data \
  --header 'Content-Type: application/json' \
  --header 'X-Api-Key: <api-key>' \
  --data '
{
  "contact_id": "<string>",
  "org_id": "<string>",
  "transcript": "<string>",
  "summary": "<string>",
  "recording_url": "<string>",
  "duration_sec": 123,
  "tags": [
    "<string>"
  ],
  "custom_fields": {}
}
'
{
  "success": true,
  "message": "<string>",
  "data": {}
}

Documentation Index

Fetch the complete documentation index at: https://docs.ravan.ai/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

X-Api-Key
string
required
Your Agni API key. Find it in your RavanAi.

Body

contact_id
string
required
GHL contact ID
org_id
string
required
Organization ID
transcript
string
Call transcript
summary
string
Call summary
recording_url
string
Recording URL
duration_sec
integer
Call duration in seconds
tags
string[]
Tags for the call
custom_fields
object
Custom fields to store

Response

success
boolean
Whether the request succeeded.
message
string
Human-readable status message.

Authorizations

X-Api-Key
string
header
required

Body

application/json
contact_id
string
required

GHL contact ID

org_id
string
required

Organization ID

transcript
string

Call transcript

summary
string

Call summary

recording_url
string

Recording URL

duration_sec
integer

Call duration in seconds

tags
string[]

Tags

custom_fields
object

Custom fields

Response

200 - application/json

Successful response

success
boolean
message
string
data
object