The Duda API allows you to integrate Duda into your website, workflow or product. It's one of the main starting points for any integration. The API is a REST based with JSON responses.

Access

You can request access from within the Duda dashboard with the steps below. Please contact us for more details.

  1. Login to your dashboard at my.duda.co
  2. Click on White Label and select API Access from the dropdown
  1. Submit request to be granted API access by clicking the Request Access Now button shown below.

Response Codes

All APIs will respond with one of the following response codes:

CodeDescription
200 OKThe request was successful and the response body contains the representation requested
204 No ResponseThe request was successful, but there is no information to send back (usually returned by successful non-GET operations)
302 FoundA common redirect response; you can GET the representation at the URI in the Location response header
400 Bad RequestThe data given in the request failed validation. Inspect the response body for details (see Error data structure for details)
401 UnauthorizedThe supplied credentials, if any, are not sufficient to access the resource
404 Not FoundResource is not available under requested URL
500 Server ErrorThis usually means there was a problem on Duda's end. Double check to make sure your data sent is correct then reach out to Duda for help

Error JSON

The applicative validations and errors are returned with 400 (Bad Request) HTTP response code accompanied with the following error structure:

{
  "error_code":"ResourceNotExist",
  "message":"Template with ID '123456' doesn't exist"
}
PropertyTypeDescription
error_codeStringCode of the error, i.e. ResourceNotExist InvalidInput InternalError
messageStringDetailed error message

Updated 7 months ago


Overview


Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.