Agent Builder

Generate Agent Objectives

Drafts call objectives from your company and customer context without changing an agent.

post/v1/agent-builder/generate-objectives

Request

  • Base URL: https://api.dialnexa.com
  • URL: https://api.dialnexa.com/v1/agent-builder/generate-objectives
  • Auth: HTTP bearer

Request body

company_and_offeringstring required

Company name and what the business offers

target_customerstring required

Who the agent will speak with

primary_goalstring required

Primary outcome the agent should achieve on each call

Example request

{
  "company_and_offering": "Acme Corp - B2B payroll software for mid-market HR teams.",
  "target_customer": "HR directors at 200-2,000 employee companies evaluating payroll vendors.",
  "primary_goal": "Book demos and answer pricing and onboarding questions."
}

Response

Generated objectives fields

successtrue required
errorfalse required
statusCodeinteger required
messagestring required
timestampstring date-time required

Example response

{
  "statusCode": 201,
  "message": "Success"
}

Changes

No recorded changes to this operation across all 1 revision of this API.