agents

Generate outreach messages

Transport: call this endpoint with HTTP POST and a JSON request body. Generate a 3-message LinkedIn outreach sequence (initial + 2 follow-ups) personalized to the prospect's profile and your business context. Before using this for real outreach, call library_context_get(skill_slug='craft-outreach', include_examples=true) and apply the returned Outreach template plus Brand context.

post/v1/agents/generateMessages

Request

  • Base URL: https://api.zevari.ai
  • URL: https://api.zevari.ai/v1/agents/generateMessages
  • Auth: HTTP bearer

Request body

identifierstring required

LinkedIn public identifier or provider ID

sender_namestring

Your name (falls back to stored profile)

sender_companystring

Your company name (falls back to stored profile)

product_offeringstring

What you sell (falls back to stored profile)

message_type'cold_outreach' | 'warm_followup' | 'connection_accepted' | 'content_engagement'

Type of message sequence

campaign_goal'book_meeting' | 'start_conversation' | 'podcast_guest_invite' | 'webinar_event_invite' | 'free_audit_resource' | 'get_published_pr' | 'partnership_inquiry' | 'feedback_review_request' | 'other'

Campaign goal for CTA alignment (falls back to profile default)

resource_urlstring

Resource URL for CTA (e.g., calendar link, landing page)

languagestring

Language for messages

template_slugstring

Outreach template slug (e.g. 'pain-led', 'hook-starter-active'). Prefer the primary_outreach_templates value returned by library_context_get. Falls back to the built-in 3-message instructions when omitted.

template_variantstring

Variant within the template's framework. For hook-starter pass 'active' or 'inactive'. Ignored when the slug already encodes the variant.

custom_promptstring

One-shot prompt override. Replaces the template prompt for this call only.

Response

Successful Zevari API response.

okboolean required

False when the underlying tool reports an error or a partial failure.

methodstring required

Public API method name.

dataunknown required
request_idstring required

Request correlation ID. Also returned in X-Zevari-Request-Id.

Example response

{
  "method": "campaigns.delete"
}

Changes

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