Create an AI Sales Agent guidance rule
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
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
AI Sales Agent ID
"01a0206f-e414-76cf-8ce7-a2439b5bad4c"
Body
The rule text the agent must follow
1"Always write in a friendly, casual tone and keep emails under 100 words."
Optional short title of the rule. When omitted, a positional default title is used.
119^[^\n\r]*$"Tone of voice"
Response
The created guidance rule
A guidance rule the AI Sales Agent must follow when writing outreach. An agent can have at most 10 rules. Rule ids are positional (rule-0, rule-1, …) and re-index after a deletion.
Positional rule id. Re-indexed after a deletion, so re-fetch the list after deleting a rule.
"rule-0"
Short title of the rule
119"Tone of voice"
The rule text the agent must follow
"Always write in a friendly, casual tone and keep emails under 100 words."