Skip to main content
Add one or more existing prompts to a vault in a single request. You supply an array of prompt IDs and the API links each of them to the specified vault. This endpoint is designed for bulk operations — you can add up to 50 prompts at once. The prompts must already exist in your account before you can add them to a vault.

Endpoint

Path Parameters

integer
required
The numeric ID of the vault you want to add prompts to.

Body Parameters

integer[]
required
An array of prompt IDs to add to the vault. Must contain between 1 and 50 integer values. Each ID must reference a prompt that exists in your account.

Request Example

Response Example

A 201 Created response is returned on success. The data field summarises how many prompts were added and includes the updated prompt count for the vault.