HomeGuidesAPI Reference
Submit Documentation FeedbackJoin Developer CommunityOptimizely GitHubOptimizely NuGetLog In

Header information

This topic describes how to configure header information.

Place authentication information (such as site and siteToken, and channel)  in the request header (rather than the JSON payload defined in the subsequent sections).

ParametersDescription
siteOptimizely client site code. This name is the site code provided by Optimizely that identifies the retailer's site. For example:

site: streamlycool

siteTokenAuthentication token for the client. Optimizely provides this token to the client. You must include the token as part of the JSON data in every API call. For example:

siteToken: 1234abcd5678

A separate siteToken is issued for each channel. Ensure that you use the correct token for your channel.
channelAccess channel. It should be one of the following: store, mobileapp, tv, callcentre. For example:

channel : store

Contact Optimizely if more channels are needed. A separate siteToken is issued for each channel. Ensure that you use the correct token for your channel.
Content-TypeThe MIME type for JSON text:

Content-Type: application/json

What’s Next
Did this page help you?