AISalesAgent

Create an AI Sales Agent guidance rule

Changed on

Add a guidance rule the AI Sales Agent must follow when writing outreach. An agent can have at most 10 rules. Rules are stored as a single list, so concurrent writes to the same agent are last-write-wins — serialize them client-side.

Requires one of the following scopes: ai_sdr:update, ai_sdr:all, all:update, all:all

post/api/v2/ai-agents/sales/{id}/guidance-rules

Request

  • Base URL
    https://api.instantly.ai
  • URL
    https://api.instantly.ai/api/v2/ai-agents/sales/{id}/guidance-rules
  • Auth
    HTTP bearer

Path parameters

idstring uuid required
Example:01a19e6d-859d-7147-a155-6bcab63ee525

AI Sales Agent ID

Request body

titlestring

Optional short title of the rule. When omitted, a positional default title is used.

contentstring required

The rule text the agent must follow

Example request

{
  "title": "Tone of voice",
  "content": "Always write in a friendly, casual tone and keep emails under 100 words."
}

Response

The created guidance rule

idstring required

Positional rule id. Re-indexed after a deletion, so re-fetch the list after deleting a rule.

titlestring required

Short title of the rule

contentstring required

The rule text the agent must follow

Example response

{
  "id": "rule-0",
  "title": "Tone of voice",
  "content": "Always write in a friendly, casual tone and keep emails under 100 words."
}

Changes