Get Pre-signed URL
Request Method
GET
Request URL
Request Headers
x-cleartax-product
String
NA
Mandatory. This will be “GST”.
x-workspace-id
String
NA
Mandatory. Workspace ID.
x-cleartax-orgunit
String
NA
Mandatory. Organization Unit ID.
x-cleartax-auth-token
String
NA
Mandatory. Access token linked to the workspace and environment.
filecontenttype
String
Valid mime type
Mandatory. Content Type of the File to be uploaded. Eg: For Excel file, use “application/vnd.ms-excel”
Request Path Params
There will be no path parameters body for this API.
Request Query Params
file_name
String
NA
Mandatory. Name of the file to be uploaded.
Request Body
There will be no request body for this API.
Response Status Codes
200
OK
400
Bad request
401
Unauthorised
403
Forbidden
Response Schema
status
String
NA
If success, this will be “OK”
payload
String
NA
Pre-signed URL to be used in the next API.
Sample Request and Response
Sample Request
Sample Response
API Validations
Filename cannot be empty.
Template type should be valid.
API Constraints
Once a pre-signed URL is generated, it will be valid for only 10 mins.
Last updated