---
title: "Plan an outbound campaign from a website"
method: POST
path: "/copilot/plan"
tags: ["Copilot"]
---

# Plan an outbound campaign from a website

`POST /copilot/plan`

## Request

- Base URL: `https://api.emailchaser.com/r`
- URL: `https://api.emailchaser.com/r/copilot/plan`
- Auth: HTTP bearer

Fetches the company website, infers an Ideal Customer Profile with the managed AI model, and drafts a suggested cold-email sequence. Changes nothing, but needs a read and write API key. A website that shows a placeholder page instead of the business (a parked or not yet connected domain, a default server page) is refused with 422; send a description of what you sell to plan from it instead.

## Request body

- ModelsCopilotPlanRequest
  - `context` string: Context is optional extra guidance from the caller (e.g. "we sell to dentists in the US").
  - `description` string: Description is what the company sells and to whom, in its own words. When given, the plan is built from it and the website is not read: send it when the website shows a placeholder page (the 422 answer).
  - `website` string, required: Website is the company homepage to analyse (with or without scheme).

## Response `200`

Suggested ICP and sequence

- ModelsCopilotPlanResponse
  - `icp` ModelsCopilotICP
    - `companySizes` string[]
    - `icpName` string
    - `industries` string[]
    - `personas` ModelsCopilotPersona[]
      - `seniority` string
      - `title` string
    - `seniorities` string[]
    - `suggestedSalesNavKeywords` string[]
    - `summary` string
    - `titles` string[]
  - `suggestedSequence` ModelsCopilotSequenceStep[]
    - `body` string, required
    - `followUpAfter` integer: FollowUpAfter is the number of days after the previous step. 0 for the initial email; 1-30 for follow-ups.
    - `subject` string, required

## Other responses

- `400`: Invalid request body
- `401`: Unauthorized - invalid or missing API key
- `422`: The website shows a placeholder page, not the business
- `429`: Too many AI requests for this workspace
- `502`: Failed to analyse website

---

[API](https://skmtc.dev/emailchaser/apis/emailchaser-api.md) · [All operations](https://skmtc.dev/emailchaser/apis/emailchaser-api/llms.txt) · [OpenAPI document](https://skmtc.dev/emailchaser/apis/emailchaser-api/revisions/8b114990abb7?raw)
