Welcome to the Rigor Optimization API!

Rigor provides an API to access many of the web performance metrics found in Rigor Optimization. This API requires an active license for Rigor Optimization product. If you are not currently a Rigor Optimization customer, Contact Us to start your trial today.

View Latest Version


Accessing the API

All API methods can be accessed by applying HTTP verbs (GET, POST, PUT, DELETE) to URLs of this structure:

(GET | POST | PUT | DELETE) https://optimization-api.rigor.com/{version}/{Path}

For example:

GET https://optimization-api.rigor.com/v2/Tests

Supported Methods

Rigor utilizes a versioning scheme in the API url to preserve backward compatibility for our clients. Visit the Versions page to access the documentation for older versions of the API.

View Latest Version View Older Versions

Authentication

All API access is authenticated via an API token sent in the HTTP header with each API request. Your API token is available in your Optimization Account Settings.

Supply a header named API-KEY in your API requests to pass your API User Key value. For example:

API-KEY: 6DE1B93D4419EE2A7B81173A453FCFF8

If your API user key has multi-account access, you may also need to supply a header named ACCOUNT-KEY for any API functions that operate on a single account (eg. Tests, Snapshots, Defects, Content). Your API token is available in your Optimization Account Settings.

ACCOUNT-KEY: 8DCBCA12AA23EE2A7B128473FDA21F31

Content Format

Content can be sent or received in either JSON or XML. By default, all content is returned in JSON.

For POST and PUT operations, you must set the Content-Type header to either application/json or application/xml. For example:

Content-Type: application/json

To receive in a different format, use the Accept header, for example:

Accept: application/xml

Questions?

Questions or suggestions for our API? Contact Us.