If a process fails, the response will include a failure object to describe the error. If a process is either incomplete or successful, the failure object will not be present.
File ConversionDocumentsVideoAudioImageCADREST API
Properties
Name
Type
Description
code
integer
Can be used to determine what action to take
message
string
Provides an explanation of the failure (which could also be displayed to your users)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://raw.githubusercontent.com/api-evangelist/zamzar/main/json-schema/failure.json",
"title": "Failure",
"type": "object",
"description": "If a process fails, the response will include a failure object to describe the error. If a process is either incomplete or successful, the failure object will not be present.",
"properties": {
"code": {
"type": "integer",
"format": "int32",
"description": "Can be used to determine what action to take"
},
"message": {
"type": "string",
"description": "Provides an explanation of the failure (which could also be displayed to your users)"
}
},
"example": {
"code": 5,
"message": "A file named portrait.png already exists"
}
}
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. By signing up you are subscribing to the APIs.io and API Evangelist
newsletters — you can unsubscribe from any issue. See our
Privacy Policy and Terms.