Feature Endpoint
Paragraph from Bullet Points
This endpoint allows you to generate a paragraph from the bullet points.
POST
/custom/api/generate/paragraph/bullet/points
Headers
Authorizationrequired
string
Input the Authorization Bearer Token to authorize your API request.
Body
bullet_pointsrequired
array
This field is used as an input to provide an array of bullet points to generate a paragraph.
Example: ["What is FOMO", "What are the main causes of FOMO", "How can you avoid FOMO"]
Response
status
string
Indicates whether the call was successful. It prompts success if working, otherwise not.
copies
object
The generated content.
message
string
This information is attached to the call and offers meaningful details when errors occur.
credits_used
number
This field informs you about the credits consumed for this particular request. It varies on the generated content.
curl --location --request POST 'https://api-az.longshot.ai/custom/api/generate/paragraph/bullet/points'
--header 'Content-Type: application/json'
--header 'Authorization: Bearer <token>'
--data-raw '{
"bullet_points": []
}'
{
"copies": [
{
"content": "<Generated Paragraph>"
}
],
"status": "success",
"message": "Generated successfully",
"credits_used": "<Credits>"
}