Skip to main content
GET
/
pub
/
prompt
/
{prompt_id}
Get Published Prompt
curl --request GET \
  --url https://api.zo.computer/pub/prompt/{prompt_id} \
  --header 'Authorization: Bearer <token>'
{
  "prompt": {
    "id": "<string>",
    "slug": "<string>",
    "title": "<string>",
    "description": "<string>",
    "tags": [
      "<string>"
    ],
    "emojis": [
      "<string>"
    ],
    "author": "<string>",
    "unlisted": false
  },
  "content": "<string>"
}

Authorizations

Authorization
string
header
required

Zo API key (zo_sk_...)

Path Parameters

prompt_id
string
required

Response

Successful Response

prompt
PublishedPromptMeta · object
required
content
string
required