{ data, error } envelope.
Base URL
Every request targets:GET /prompts resolves to https://www.promptbank.club/api/v1/prompts.
Versioning
The API is versioned with av1 prefix in every path. When breaking changes are introduced, a new version prefix (e.g. v2) will be released. The v1 prefix will remain available during any transition period so existing integrations keep working.
Request Format
Send request bodies as JSON. Set theContent-Type header to application/json on all requests that include a body (POST, PUT, PATCH).
Response Envelope
Every response — success or error — returns a JSON object with two top-level keys:
List endpoints include an additional
pagination object alongside data and error.
Success response
Error response
error is non-null, data is always null. The optional details object may contain field-level validation information for 400 Bad Request responses.
Pagination
List endpoints use cursor-based pagination. The response includes apagination object alongside the result array:
When
nextCursor is null, you have reached the last page.
Pagination example
What’s next
Authentication
Learn how to create and use API keys to authorize requests.
Errors
Understand error codes and how to handle them.
Prompts
Browse the Prompts API reference.
Vaults
Browse the Vaults API reference.