This section covers how to access the best performing messages from your tests via API as part of Naytev's Global Optimization API Service. To access the API, you'll first need to setup API Authorization

Once authorized, you can use the API to access: Post Text, Headline, Description, and Image. Below are instructions for using the API.

Get Result

  • URL:

  • Method:
  • URL Params
url=[string -- UTF-8 encoded open graph url of the piece of content]
  • Success Response:Code: 200 Description: A 200 response is returned when there is a test run and there is a winner of the test Code: 204 Description: A 204 response is returned when there is not a test running or a test doesn't have a winning variant yetResponse Sample:
  testID : 12,
  post text: 'What do you use to enrich your content marketing?',
  headline: 'Why Use Infographics In Content Marketing? ',
  description: 'Before you hire a designer (or even create your own), here are 3 ways  an infographic can  make your content more engaging for your audience.',
  image: ''
curl --header "X-Auth-Token: ${API_KEY}$"
  • Notes: The results are cached for 30 minutes.
Did this answer your question?