Info | ||
---|---|---|
| ||
The doForms REST API documentation has moved to https://mydoforms.appspot.com/openapi/openapi.html |
The doForms REST API provides integration with the doForms system.
...
GET /accounts?
Response | Notes |
---|---|
[ | Query customer accounts. Requires a reseller tokenauthentication.
|
GET /accounts/current
Response | Notes |
---|---|
{ | Returns information about the current account.
|
GET /accounts/{key or code}
Response | Notes |
---|---|
{ | Get the account.
|
PUT /accounts/{key or code}
Body | Notes |
---|---|
{ | Update the account.
|
GET /activity?
Response | Notes |
---|---|
[ | Returns all submission activity the user has access to.
|
...
Response | Notes |
---|---|
[ | Returns all devices the user has access to.
|
GET /devices/{key or number}
Response | Notes |
---|---|
{ | Returns the requested device.
|
GET /devices/{key or number}/activity?
Response | Notes |
---|---|
[ | Returns all submission activity for a device that the user has access to.
|
...
Response | Notes |
---|---|
[ | Returns dispatch identifiers that match a query. See /submissions? for more details.
|
DELETE /dispatches/{key or id}
Response | Notes |
---|---|
200 OK | Delete a dispatch.
|
GET /dispatches/{key or id}?
Response | Notes |
---|---|
{ "key": "abc123", | Returns the data of a dispatch record by key or id.
|
POST /files/{file name}
Response | Notes |
---|---|
{ | Upload a file that can be used as a lookup table or can be sent as part of a dispatch.
Files larger than 32MB will return a 413 error. To upload a large file, leave the body empty. Two new properties will be returned:
|
...
Response | Notes |
---|---|
{ | Get information about a file.
|
DELETE /file/{key or file name}
Notes |
---|
Delete a file.
|
...
Response | Notes |
---|---|
[ | Returns the first 1,000 forms published in projects the user or web service has access to.
|
...
Response | Notes |
---|---|
{ "fields": [ | Returns the form definition by either the key or the id of the form.
|
...
Response | Notes |
---|---|
[ | Returns all submission activity for a form that the user has access to.
|
...
Response | Notes |
---|---|
[ | Returns the fields array for the selected form by key or by id.
|
...
Response | Notes |
---|---|
[ | Returns all projects the requested form is assigned to.
|
GET /groups
Response | Notes |
---|---|
[ | Returns all groups in the account.
|
...
Response | Notes |
---|---|
{ | Returns the requested group by key.
|
GET /groups/{key}/users
Response | Notes |
---|---|
[ | Returns all users assigned to the requested group.
|
...
Response | Notes |
---|---|
[ | Return all lookups in the account.
|
...
Body | Notes | |
---|---|---|
Request | { | Add a new lookup.
|
200 OK | { |
|
...
Response | Notes |
---|---|
{ | Return a lookup.
|
...
Body | Notes | |
---|---|---|
Request | { | Replace all rows in the lookup with the rows in the request.
|
200 OK | { |
|
400 Bad Request | { | Error code 951 indicates that there are too many existing rows in the lookup to remove in one request, or the number of rows in this request is too large to process in one request. Empty the lookup by calling DELETE /lookups/{key}/rows until complete = true, and then add the rows by calling POST /lookups/{key}/rows. |
...
Response | Notes |
---|---|
200 OK | Delete a lookup.
|
...
Response | Notes |
---|---|
[ | Return the columns in a lookup.
|
GET /lookups/{key}/forms
Response | Notes |
---|---|
[ | Return the forms that currently use the lookup.
|
GET /lookups/{key}/rows
Response | Notes |
---|---|
[ | Return the rows in a lookup.
|
...
Body | Notes | |
---|---|---|
Request | [ | Append rows to a lookup.
|
200 OK | { |
|
...
Response | Notes |
---|---|
{ | Delete rows from a lookup.
|
...
Response | Notes |
---|---|
{ | Get a single row in a lookup by id.
|
PUT /lookups/{key}/rows/{id}
Body | Notes | |
---|---|---|
Request | { | Update a row in a lookup.
|
200 OK | { |
...
Response | Notes |
---|---|
200 OK | Remove a row from a lookup.
|
...
Response | Notes |
---|---|
{ | Returns the requested webhook notification.
|
...
Body | Notes |
---|---|
{ |
|
...
Response | Notes |
---|---|
[ | Returns all projects the user or web service has access to.
|
GET /projects/{key}
Response | Notes |
---|---|
{ | Returns the requested project.
|
GET /projects/{key}/activity?
Response | Notes |
---|---|
[ | Returns all submission activity for a project that the user has access to.
|
...
Response | Notes |
---|---|
[ | Returns all forms assigned to the requested project.
|
...
Response | Notes |
---|---|
[ | Returns all published reports.
|
GET /reports/my
Response | Notes |
---|---|
[ | Returns reports assigned to the user.
|
GET /reports/{key}
Response | Notes |
---|---|
{ | Returns the requested report.
|
GET /reports/{key}/results
Response | Notes |
---|---|
[ | Returns all current results for the selected report.
|
...
Response | Notes |
---|---|
{ | Returns the details for the selected result.
|
GET /reports/{key}/results/{result key}/pdf
Response | Notes |
---|---|
Content-Type: application/pdf | Returns the PDF file for the selected result.
|
...
Response | Notes |
---|---|
Content-Type: application/vnd.openxmlformats-officedocument.spreadsheetml.sheet | Returns the Excel file for the selected result.
|
...
Response | Notes |
---|---|
[ | Returns submission identifiers that match a query.
|
...
Response | Notes |
---|---|
200 OK | Delete a submission
|
...
Response | Notes |
---|---|
{ "key": "abc123", | Returns the data captured in a form submission by key or id.
|
...
Response | Notes |
---|---|
[ | Returns the activity of the selected submission.
|
...
Response | Notes |
---|---|
[ | Returns information about all attachment blobs in the form submission by the key or id of the submission.
|
DELETE /submissions/{key or id}/blobs
Notes |
---|
Delete all attachment blobs from the submission.
|
GET /submissions/{key or id}/blobs/{key or id}
Response | Notes |
---|---|
{ | Returns information about a single blob in a submission.
|
DELETE /submissions/{key or id}/blobs/{key or id}
Notes |
---|
Delete the specified attachment blob.
|
GET /submissions/{key or id}/blobs/{key or id}/binary
Response | Notes |
---|---|
application/octet-stream | Returns the binary data of a single blob in a submission.
|
...
Body | Notes | |
---|---|---|
Request | { | Start a task.
|
200 OK | { | Returns the task with the current status. Most tasks will have complete=false when created. Check the status at GET /tasks/{key}. |
...
Response | Notes |
---|---|
{ "blob": { | Get a task.
|
GET /tasks/{key}/xlsx
Response | Notes |
---|---|
Content-Type: application/vnd.openxmlformats-officedocument.spreadsheetml.sheet Content-Disposition: attachment; filename="MyFileName.xlsx" | Get the content of an XLSX file generated by a task.
|
GET /tasks/{key}/pdf
Response | Notes |
---|---|
Content-Type: application/pdf | Get the content of a PDF file generated by a task.
|
GET /teams
Response | Notes |
---|---|
[ | Returns all device teams (also known as groups) the user has access to.
|
...
Response | Notes |
---|---|
[ | Returns all the devices assigned to the requested team.
|
...
Response | Notes |
---|---|
[ | Returns all Excel templates in the account.
|
GET /templates/{key}
Response | Notes |
---|---|
{ | Returns the requested Excel template.
|
POST /tokens/reseller
- Authorization header is not required.
...
Response | Notes |
---|---|
[ | Returns all web users for the account.
|
...
Response | Notes |
---|---|
{ | Returns the requested web user by key or by email.
|
GET /webservices
Response | Notes |
---|---|
[ | Returns all web services for the account.
|
...
Response | Notes |
---|---|
{ | Returns the requested web service including the password.
|
...