Endpoint
Headers
| Header | Type | Required | Description |
|---|---|---|---|
x-api-key | string | Yes | Your API key |
Request Body
| Parameter | Type | Required | Description |
|---|---|---|---|
prompt | string | Yes | The prompt to analyze and shorten (1-8192 characters) |
callback | string | No | Callback URL for task completion notifications |
Example Request
Response
Returns a task object containing the task information.Authorizations
API key for authentication
Body
application/json
Response
200
Shortening task created successfully