/
/Optimizely Agent API
DocsSign in
Sign in
  • APIs
  • Generators
  • Stacks
  • Projects
  • Docs
  • History
  • Schema
Checked 27m ago · Updated 1mo ago
  • getReturn the Optimizely config for the given environment
  • getReturn the datafile for the given environment. If you need strict consistency, you can pass the datafile to other Optimizely instances. so that all initialize from exactly the same datafile version (rather than each fetching the datafile separately from the Optimizely CDN).
  • postDecide makes feature decisions for the selected query parameters.
  • postLookup returns saved user profile.
  • postSave saves user profile.
  • postTrack event for the given user.
  • postSend event to Optimizely Data Platform (ODP).
  • postActivate selected features and experiments for the given user.
  • postOverride an experiment decision for a user
  • postGet JWT token to authenticate all requests.
  • postBatch multiple API endpoints into one request.

Get JWT token to authenticate all requests.

Generates valid JWT token for grant_type, client_id, and client_secret, using the values you pass in the request body. Configure expiration time and SDK keys (to which the token grants access) in Optimizely config.

post/oauth/token

Request body

grant_typestring
client_idstring
client_secretstring

Response

Generates a valid token

Changes