HomeDev GuideAPI Reference
Dev GuideAPI ReferenceUser GuideGitHubNuGetDev CommunitySubmit a ticketLog In
GitHubNuGetDev CommunitySubmit a ticket


You can access the RESTful service on the Optimizely LIVE server by a **POST** or **GET https** request using the following request URL: `https://<clientname>.peerius.com/tracker/api/v1_4/rest.pagex`

Note

The <clientname> part of the URL might be different depending of the integration settings with Optimizely. You will need to change that accordingly.

You should test your API calls using the user acceptance testing (UAT) server prior to adding code to your production server or live website. You can access the RESTful service on the Optimizely UAT server by a **POST** or **GET https** request using the following request URL: `https://uat.peerius.com/tracker/api/v1_4/rest.pagex`

## POST request

The **POST** request has a content type of application/x-www-form-urlencoded, with a single value named jd (JSON data). The value of jd is the JSON content of the request as specified in the Tracking request format section. This value must be URL encoded in UTF-8.

## GET request

The **GET** request has a single parameter of name jd (JSON data). This parameter must be URL encoded in UTF-8, and its value is the JSON content of the request as specified in the Tracking request format section.

The following example shows a GET request, including the URL-encoded parameter value:



In both cases, the returned data has a Content-Type header of application/json.