curl --request POST \
--url https://app.octavehq.com/api/v2/agents/call-prep/run \
--header 'Content-Type: application/json' \
--header 'api_key: <api-key>' \
--data '
{
"agentOId": "agent_123",
"email": "[email protected]",
"jobTitle": "<string>",
"companyDomain": "example.com",
"companyName": "<string>",
"firstName": "<string>",
"linkedInProfile": "<string>",
"runtimeContext": "<unknown>"
}
'{
"_metadata": {
"requestId": "requestId",
"timestamp": "2021-01-01T00:00:00.000Z",
"usage": 0,
"message": "message"
},
"found": true,
"message": "Additional information",
"data": {
"discoveryQuestions": [],
"callScript": "<string>",
"personBrief": "<string>",
"companyBrief": "<string>",
"objectionHandling": "<string>",
"relevantCaseStudies": [
{
"whyIsThisRelevant": [
"<string>"
],
"keyPointsToFocusOn": [
"<string>"
],
"keyDifferences": [
"<string>"
],
"snippet": "<string>",
"referenceCustomerName": "<string>",
"matchConfidence": "LOW",
"matchAnalysis": "<string>"
}
],
"product": {
"name": "<string>",
"oId": "<string>",
"matchConfidence": "LOW",
"matchAnalysis": "<string>"
},
"playbook": {
"name": "<string>",
"oId": "<string>",
"matchConfidence": "LOW",
"matchAnalysis": "<string>"
},
"persona": {
"name": "<string>",
"oId": "<string>",
"matchConfidence": "LOW",
"matchAnalysis": "<string>"
},
"useCases": [
{
"name": "<string>",
"oId": "<string>",
"matchConfidence": "LOW",
"matchAnalysis": "<string>"
}
],
"referenceCustomers": [
{
"name": "<string>",
"oId": "<string>",
"matchConfidence": "LOW",
"matchAnalysis": "<string>"
}
],
"resultUrl": "<string>",
"annotations": {
"annotations": [
{
"type": "<string>",
"title": "<string>",
"meta": "<unknown>",
"description": "<string>",
"url": "<string>"
}
],
"metadata": "<unknown>"
}
}
}Generate call prep content including discovery questions, call scripts, and objection handling
curl --request POST \
--url https://app.octavehq.com/api/v2/agents/call-prep/run \
--header 'Content-Type: application/json' \
--header 'api_key: <api-key>' \
--data '
{
"agentOId": "agent_123",
"email": "[email protected]",
"jobTitle": "<string>",
"companyDomain": "example.com",
"companyName": "<string>",
"firstName": "<string>",
"linkedInProfile": "<string>",
"runtimeContext": "<unknown>"
}
'{
"_metadata": {
"requestId": "requestId",
"timestamp": "2021-01-01T00:00:00.000Z",
"usage": 0,
"message": "message"
},
"found": true,
"message": "Additional information",
"data": {
"discoveryQuestions": [],
"callScript": "<string>",
"personBrief": "<string>",
"companyBrief": "<string>",
"objectionHandling": "<string>",
"relevantCaseStudies": [
{
"whyIsThisRelevant": [
"<string>"
],
"keyPointsToFocusOn": [
"<string>"
],
"keyDifferences": [
"<string>"
],
"snippet": "<string>",
"referenceCustomerName": "<string>",
"matchConfidence": "LOW",
"matchAnalysis": "<string>"
}
],
"product": {
"name": "<string>",
"oId": "<string>",
"matchConfidence": "LOW",
"matchAnalysis": "<string>"
},
"playbook": {
"name": "<string>",
"oId": "<string>",
"matchConfidence": "LOW",
"matchAnalysis": "<string>"
},
"persona": {
"name": "<string>",
"oId": "<string>",
"matchConfidence": "LOW",
"matchAnalysis": "<string>"
},
"useCases": [
{
"name": "<string>",
"oId": "<string>",
"matchConfidence": "LOW",
"matchAnalysis": "<string>"
}
],
"referenceCustomers": [
{
"name": "<string>",
"oId": "<string>",
"matchConfidence": "LOW",
"matchAnalysis": "<string>"
}
],
"resultUrl": "<string>",
"annotations": {
"annotations": [
{
"type": "<string>",
"title": "<string>",
"meta": "<unknown>",
"description": "<string>",
"url": "<string>"
}
],
"metadata": "<unknown>"
}
}
}Call prep input
AgentOId is required when creating an agent in the application. You can find it in the Agents section of your dashboard.
"agent_123"
Email of the person to build sales call prep materials for
Job title of the person to build sales call prep materials for
The domain of the company to build call prep materials for
"example.com"
The name of the company to build call prep materials for
First name of the person to build sales call prep materials for
LinkedIn profile URL of the person to build sales call prep materials for
Runtime context for sales call prep materials
Call prep successful
Whether the operation was successful
true
Message
"Additional information"
Show child attributes
Show child attributes
LOW, MEDIUM, HIGH Show child attributes