Skip to main content
PUT
Update Prompt
Patch one or more sections. Omitted fields stay stored. The server merges, validates, then writes canonical JSON. Do not send a content blob. Unknown keys are validation_error.

Messages fields

To change one delay, copy every follow-up from GET /prompts/:id and send the full array. A 4th follow-up, a delay outside 1-30, or dropped mandatory variables is rejected and nothing is saved.

Comment fields

Example: change follow-up delays

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

ID of the prompt

Body

application/json

Fields to patch. At least one field is required.

name
string
Required string length: 3 - 100
model
string

Model ID from GET /models

followUpEnabled
boolean

Messages only. Turns follow-up sending on or off without deleting followUps.

context
string

Messages only. Omit to keep the stored context.

firstMessage
string

Messages only. Omit to keep the stored first message.

followUps
object[]

Messages only. Replaces the whole array. Omit to keep current follow-ups; send [] to clear. To change one delay, resend every item.

Maximum array length: 3
comment
string

Comment prompts only.

Minimum string length: 1

Response

Updated prompt sections

id
string
Example:

"prompt_987654321"

name
string
Example:

"Sales Outreach Sequence"

type
enum<string>
Available options:
Messages,
Comment
Example:

"Messages"

model
string
Example:

"model_claude3"

followUpEnabled
boolean

Whether follow-ups are sent. Does not delete stored followUps.

Example:

true

variables
string[]

Custom variable names used in this prompt

context
string

Messages only. Role and mission. Counts toward mandatory variables.

firstMessage
string

Messages only. First LinkedIn DM instructions. Counts toward mandatory variables.

followUps
object[]

Messages only. Max 3 items.

Maximum array length: 3
comment
string

Comment prompts only.

createdAt
string<date-time>
updatedAt
string<date-time>
guidelines
object

Schema, mandatory variables, and update rules for this prompt

Last modified on September 9, 2026