Skip to main content
POST
Submit File

Authorizations

Authorization
string
header
required

Your account's API key, sent as Authorization: Bearer <your API key>. Keys are issued per environment, so a staging key will not work against production.

Body

multipart/form-data
fileUpload
file
required

The file to upload. Which media types you can send depends on the document type configured for fileType.

Each type has its own size limit, and a file over its limit is rejected:

  • application/pdf, image/jpeg, image/png, image/jpg — up to 30 MB
  • application/json, application/geo+json, text/csv — up to 100 MB
  • video/mp4, video/quicktime — up to 600 MB
  • application/geopackage+vnd.sqlite3, application/zip, application/vnd.shp — up to 1000 MB
fileType
string
required

Document type name, such as Elevation Certificate, Building Permit, or Property Image. Must match a document type configured for your account; see File types for how they are set up.

Example:

"Elevation Certificate"

mimeType
string

Media type of the file.

Example:

"application/pdf"

address
string | null

Street address to attach the file to, as {number} {name} {postfix}, {city}, {state} {zip}.

Example:

"123 Main St, Springfield, IL 62701"

parcelId
string | null

Parcel number to attach the file to.

Example:

"12-34-567-890"

externalSystemId
string | null

Your system's identifier for this file. Uploading a second file with an identifier already in use returns 409.

Example:

"EC-2024-0417"

externalDocumentURL
string<uri> | null

Link to display this file in your system. Public website users will be directed here when viewing the file.

Example:

"https://permits.example.gov/documents/EC-2024-0417"

coordinates
string | null

A JSON-encoded [latitude, longitude] tuple in EPSG:4326, to attach the file to that location.

Example:

"[39.7817, -89.6501]"

Response

Success. errors is empty.

errors
object[]
required

Empty when the request succeeded. Otherwise one entry per failure, and the resource fields on the response are empty: null for single resources, [] for lists, with pageInfo omitted.

Example:
file
object | null
required

The uploaded file. Null when the upload failed.