Skip to main content
GET
/
prompts
Get Prompts
curl --request GET \
  --url https://api.example.com/prompts/ \
  --header 'Authorization: Bearer <token>'
{
  "prompts": [
    {
      "id": "<string>",
      "email": "<string>",
      "prompt_type": "<string>",
      "title": "<string>",
      "content": "<string>",
      "created_at": "2023-11-07T05:31:56Z",
      "updated_at": "2023-11-07T05:31:56Z",
      "category_name": "<string>",
      "icon": "<string>",
      "tags": [
        "<string>"
      ]
    }
  ],
  "total": 123
}

Authorizations

Authorization
string
header
required

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

Response

200 - application/json

Successful Response

Response model for a list of prompts.

prompts
PromptResponse · object[]
required
total
integer
required