Skip to content
OpenPostDocs
OpenPostDocs
Prompts

Get a random writing prompt

GET/prompts/random

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Query Parameters

workspace_id?string

Filter by workspace ID

category?string

Filter by category

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

curl -X GET "https://example.com/prompts/random"
{  "$schema": "https://example.com/api/v1/schemas/PromptResponse.json",  "category": "string",  "created_at": "string",  "example": "string",  "id": "string",  "is_built_in": true,  "text": "string",  "user_id": "string",  "workspace_id": "string"}