Doctape will retire its service as of November 25th
For more information about the service's shut down visit www.doctape.com
The doctape API endpoint is located at https://api.doctape.com
. Be sure to
send all your requests UTF-8 encoded over HTTPS.
Currently there's only one version of the doctape API, nameley v1. Always append the version number to the base URL.
Example
https://api.doctape.com/v1/
-
There's an official doctape library written in JavaScript for browser and node (available via npm).
- passport.js module
Let us know if you maintain a third party library that leverages the doctape API and we'll add it to this list.
The doctape API uses a subset of the OAuth 2.0 protocol for authentication. To get started, log in to create your first application right away. To gain an access token, be sure to have a look at the detailed Authentication Guide first.
The doctape API supports both, JSONP and CORS, for easy, unauthenticated cross-domain API requests.
Before files are processed, doctape collects metadata depending on the file type, which you can access via the API.
There's a complete list of resources, be sure to check it out.
All operations except binary transfers return a JSON object with the keys
error
and result
.
If the operation succeeded, the HTTP status code is 200, result
is populated
and error
equals null
.
HTTP 200 OK
{
"error": null,
"result": {
...
}
}
If the operation failed, the HTTP status code is greater than 400 , result
equals null
and error
is populated.
HTTP 401 Unauthorized
{
"error": {
"code": 401,
"message": "Unauthorized"
},
"result": null
}
Just send an email to [email protected].