Skip to main content

Form Tokens

Description: To download a form, a unique form token must be provided. To retrieve a download token, a HTTP GET request is made to the URL with the form ID and session token.

Method: GET

URI: /forms/form_id/download/

URI Parameters

  • form_id: The ID of the form.

Headers: Authorization: Third party based authorization header

Returns

FieldTypeDescription
idIntegerUnique ID of the form.
agency_idIntegerUnique ID of the agency.
ipStringIP address that the token is locked to.
tokenStringUnique download token.

Example

Request
curl https://app-api.reiformslive.com.au/forms/1/print \
--request GET \
--header "Authorization: Basic YTlkOWIwYItNGY4Yi1hYTQxLTI5NzZmMTcyZmEyMQ=="
Response
{
"id": 1,
"agency_id": 1,
"ip": "127.0.0.1",
"token": "00000000-0000-0000-0000-000000000000"
}