Common parameters
This page lists the request parameters and response fields common to all Aidge API calls.
Common request parameters
URL query parameters
Append the following parameters to the request URL for every API call.
|
Parameter |
Type |
Required |
Description |
|
|
String |
Yes |
Fixed value: |
|
|
String |
Yes |
Fixed value: |
|
|
String |
Yes |
Fixed value: |
|
|
String |
Yes |
The API key name. |
|
|
String |
Yes |
The current time as a millisecond timestamp. |
|
|
String |
Yes |
HMAC-SHA256 signature. For more information, see authentication. |
Common request headers
|
Header |
Type |
Required |
Description |
|
|
String |
Yes |
Fixed value: |
|
|
String |
No |
Set to |
Common response fields
All API responses contain the following top-level fields:
|
Field |
Type |
Description |
|
|
String |
The business response code. A value of |
|
|
String |
Error description. On success, the value is |
|
|
String |
The unique request identifier. Provide this identifier when submitting a support ticket. |
|
|
Boolean |
Indicates whether the request was successful. Equivalent to |
|
|
Object |
API-specific response data. The value is |
Asynchronous task fields
The submission endpoint for all asynchronous APIs—including document translation, video translation, video removal, smart image generation, size chart extraction, and product material optimization Lite / Pro—returns the following task-tracking fields in the Data field of the response:
|
Field |
Type |
Description |
|
|
String |
The unique task identifier, used to query the task status. |
|
|
String |
The task status. Possible values are |