POST
/
v1
/
prompts
/
{prompt_id}
/
make-public
curl --request POST \
  --url https://api.pulze.ai/v1/prompts/{prompt_id}/make-public \
  --header 'Authorization: Bearer <token>'
{
  "prompt": "<string>",
  "title": "<string>",
  "description": "<string>",
  "added_on": "2023-11-07T05:31:56Z",
  "modified_on": "2023-11-07T05:31:56Z",
  "org_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "tokens": 123,
  "published_on": "2023-11-07T05:31:56Z",
  "reviewed_on": "2023-11-07T05:31:56Z",
  "approved_on": "2023-11-07T05:31:56Z",
  "decline_reason": "<string>",
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}

Authorizations

Authorization
string
header
required

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

Path Parameters

prompt_id
string
required

Response

200
application/json
Successful Response
prompt
string
required
title
string
required
Required string length: 1 - 60
description
string
required
Required string length: 1 - 200
added_on
string
required
modified_on
string
required
org_id
string
required
tokens
integer
required
published_on
string | null
required
reviewed_on
string | null
required
approved_on
string | null
required
id
string
required
decline_reason
string | null

Reason for decline