Skip to main content
POST
/
pub
/
prompts
/
publish
Publish Prompt
curl --request POST \
  --url https://api.zo.computer/pub/prompts/publish \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "content": "<string>",
  "source_path": "<string>",
  "emojis": [
    "<string>"
  ]
}
'
{
  "id": "<string>"
}

Authorizations

Authorization
string
header
required

Zo API key (zo_sk_...)

Body

application/json
content
string
required
source_path
string | null
emojis
string[] | null

Response

Successful Response

id
string
required