ToolYourToolYourAPI Docs

ods to txt

POST
/api/v1/office/ods-to-txt

Authorization

ApiKeyAuth
X-Api-Key<token>

API key created via POST /api/v1/api-keys (shown once at creation)

In: header

Query Parameters

delivery?string

Response delivery mode. Default returns JSON with a presigned downloadUrl. Legacy binary returns file bytes directly (deprecated; includes Deprecation/Sunset headers during grace period).

Default"url"

Value in

  • "url"
  • "binary"

Request Body

multipart/form-data

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X POST "https://example.com/api/v1/office/ods-to-txt" \  -F file="string"
{  "status": true,  "code": 200,  "message": "Conversion successful",  "result": {    "fileId": "a1c6a2ab-4b01-4253-b4c9-70e04b3b48fc",    "downloadUrl": "http://example.com",    "expiresAt": "2019-08-24T14:15:22Z",    "fileName": "report.pdf",    "mimeType": "application/pdf",    "sizeBytes": 102400  }}
{  "message": "string",  "detail": "string",  "status": false,  "code": 0,  "error": "string"}
Empty
{  "message": "string",  "detail": "string",  "status": false,  "code": 0,  "error": "string"}
Empty
Empty