HomeGuidesAPI ReferenceChangelog
Log In
API Reference

Add File

This endpoint allows you to upload new files into the system. In order to add new files, the files must be in PDF format. The max number of files in an upload is 75, and the combined size of all files must be less than 10 MB.

Note that this endpoint returns a HTTP 308 redirect to https://downloads.urjanet.com, which will in turn return HTTP 200 with the described JSON. If you experience HTTP 401 errors while using it, be sure your API client is configured to include the Authorization header when following redirects.

Alternatively, if you're having issues handling the redirection, you can POST directly to the URL https://downloads.urjanet.com/utility/files. This will also increase the size limit from 10MB to 1GB.

Query Params
string

Provider ID (UUID). If not given, we will attempt to automatically detect the provider for the file(s).

string

An ID used to match the utility data pulled for this request back to users in your system. Correlation ID does not have to be unique.

Body Params
files
array of files
files
Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Response

Language
Credentials
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json
application/hal+json