Sample Call
Sample Call
A sample curl call to the fictional /dictionary-term/2
endpoint would look like (with <YOUR TOKEN HERE> being replaced by the actual access token):
Sample Call
curl -X GET --header "Accept: application/vnd.ucf.v1+json" --header "Authorization: Bearer <YOUR TOKEN HERE>" "https://api.unifiedcompliance.com/my-account"
Rate Limiting
The API is rate limited by IP and account. If a rate limit is breached, the following headers and message will be returned (X-RateLimit-Limit
header will vary):
Headers:
X-RateLimit-Limit: 10000
X-RateLimit-Remaining: 0
Response:
{ "message":"API rate limit exceeded" }
Cors
Cross origin resource sharing is enabled for the API so proper CORS requests can be made from other domains.
The methods supported are:
- POST
- GET
- OPTIONS
- PUT
- PATCH
- OPTIONS
And the headers supported are:
- Content-Type
- Authorization
- Accept
- Accept-Encoding
GZIP
To enable gzip compression, send an Accept-Encoding: gzip
header as part of your request.
, multiple selections available,