Skip to main content
POST
Save a custom prompt onto a sender profile

Authorizations

Authorization
string
header
required

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

Body

application/json
sender_profile_id
string
required
prompt
string
required
Required string length: 100 - 5000
save_as_name
string | null
default:saved

Named prompt slot to upsert into. Defaults to 'saved' so repeated playground saves update the same slot rather than accumulating entries. Collision with a reserved name returns 422.

Response

Successful Response

The response is of type Response Save Personalization Prompt Api V1 Personalize Save Prompt Post · object.