Feature Endpoint
Rephrase your content
This endpoint lets you rephrase your content based on your input to convey your message better.
/custom/api/content/rephrase
Headers
Input the Authorization Bearer Token to authorize your API request.
Body
This field is to input the text you want to rephrase.
Example: “Tesla has launched its coolest car yet. Equipped with the latest tech, it's becoming a symbol of style among Millennials and Gen X alike. And it's quite easy on the environment.”
Response
Indicates whether the call was successful. It prompts success if working, otherwise not.
The generated content.
This is the input text you passed, to rephrase.
This information is attached to the call and offers meaningful details when errors occur.
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/content/rephrase'
--header 'Content-Type: application/json'
--header 'Authorization: Bearer <token>'
--data-raw '{
"text": ""
}'
{
"copies": [
{
"content": "<Rephrased Content>"
}
],
"text": "<Input Text>",
"status": "success",
"message": "copies generated successfully"
}