This section refers to a deprecated version of the product. The new version is FE&R. To access FE&R, contact your CSM.
📘 To learn more, read the FE&R documentation.
LogoLogo
PlatformsPricingRessources
  • User documentation
  • Onboarding
  • Help Center
  • Release Notes
  • Flagship - Deprecated
  • Feature Experimentation & Rollout (ex-Flagship) is evolving!
  • GETTING STARTED
    • 👉Managing multiple environments
    • Using the trial version of Flagship
  • First steps with Flagship
    • Quick start guide
    • Glossary
  • Implementation
    • Sending transactions from the AB Tasty Shopify app directly to Feature Experimentation & Rollouts
  • Integrations
    • Heap Analytics integration (Push)
    • Tealium AudienceStream (receive audiences)
    • FullStory integration (segment exports)
    • Heap Analytics integration (Pull)
    • Google Analytics integration (pull audiences)
    • Segment Integration (receive traits)
    • Mixpanel integration (cohort exports)
    • 👉Retrieving your third-party tools’ audiences in AB Tasty - Feature Experimentation & Rollouts
    • Zapier integration
    • Segment integration
  • Steps configuration
    • 👉Configuring Sequential Testing Alerts
    • 👉Configuring your Flags
    • 👉Using the scheduler
    • 🛠️[Troubleshooting] How to target a large number of users at the same time?
    • 👉Configuring KPIs
    • 👉Using the automatic rollback option
    • 👉Targeting configuration
    • 👉Dynamic allocation
    • 👉Traffic allocation
  • Team
    • Access Rights, Teams & User Management
    • 👉Defining rights per project
  • DEMO
    • AB Tasty - Feature Experimentation & Rollouts Demo - How to use it
  • Navigating the interface
    • 👉Archiving use cases from the dashboard
    • 👉Flags page
    • 👉Running a search on the dashboard
    • Navigating the Flagship interface
  • REPORTING
    • 👉Verifying your hit setup
    • 👉Exporting reporting data
    • Understanding the "Chances to win" indicator
    • 🛠️[Troubleshooting] How can I know my test is reliable and my data significant enough to be analyzed?
    • Reporting - A/B Test
    • 👉Using the reporting filters
  • API keys & Settings
    • 👉Acting on your account remotely
    • 👉Using Experience Continuity
    • visitor experiment option
  • FEATURES SETUP
    • 👉Bucket allocation
  • SDKs integration
    • 👉Managing visitor consent
    • 👉Understanding the use of SDKs
  • FAQ
    • Can I make a comparison for each reporting?
    • Can I use Flagship even if my SDK stack is not available?
  • Platform integration
    • 👉Webhooks page
  • Decision API
    • Decision API for non-techie users
  • Account & Profile
    • 👉Configuring account restrictions with MFA
    • 👉Configuring a FA on your profile
  • RELEASE NOTES
    • October - Flagship becomes Feature Experimentation & Rollouts
    • February - Release Notes
    • 📅January - Release Notes
    • 🎉December - Release Notes 🎉
    • 🦃November - Release Notes
    • September Release Notes 🎨
    • June Release Notes 🐞
    • 🍸May Release Notes ☀️
    • Flagship Release Notes April 🐇
    • Flagship February release notes 🏂
    • Flagship January release notes 🎉
    • Flagship November release notes 🦃
    • Flagship October Release Notes 🎃
    • Flagship September Release note 🎒
    • Flagship August Release Notes 🐬
    • Flagship Release Notes July ☀️
    • Flagship Release notes June 🌻
    • Flagship Spring Release May 🌸
    • Flagship Release Notes: Fall
  • Use cases
    • 👉Duplicating a winning variation
    • 👉Configuring a Feature Toggle/Flag
    • 👉Configuring an A/B Test
    • 👉Configuring a Progressive rollout
    • 👉Configuring a Personalization
  • VIDEO TUTORIALS
    • [Video Tutorial] AB Test
    • [Video Tutorial] Feature Flag
    • [Video Tutorial] Progressive Deployment
Powered by GitBook
LogoLogo

AB Tasty Website

  • Home page AB Tasty
  • Blog
  • Sample size calculator
  • Release note

AB Tasty Plateform

  • Login

Š Copyright 2025 AB Tasty, Inc, All rights reserved

On this page
  • Decision API for non-techie users
  • Why the Decision API?
  • What does it stand for?
  • How does it work?
  • What is the role of each body parameter?

Was this helpful?

Edit on GitLab
Export as PDF
  1. Decision API

Decision API for non-techie users

Decision API for non-techie users

First of all, if you're a tech guy, you might want to check out our Developer Portal to get access to extensive knowledge on how our Decision API works, but do feel free to read this article, which is shorter but still useful.

Why the Decision API?

The Decision API is a managed REST API. This means that it’s agnostic and can be plugged anywhere. It’s called Decision API because it’s a decisional API. Based on a JSON body, it will return some flags and their values, which you will want to display to your users. The whole logical condition is based on the API instead of your application/website.

What does it stand for?

It enables developers to get flag values depending on specific visitors' context and to carry out certain experiments and feature management. A flag is a remote variable that you can play with to change its value and therefore the behavior of your app/website. Every flag implemented in your codebase and linked to Flagship can be played with. E.g.: “app_paymentScreen_paypal”: true would enable the Paypal payment method in the payment screen of the app, and false would disable it, if your developers implemented the same logic.

How does it work?

The following behavior can differ depending on developer implementation, but let’s imagine the following workflow: A user arrives on your website. Like for any normal website navigation, the browser calls your server and is waiting for an answer. At this moment, your server is calling the Decision API with the unique visitorId of your visitor and gets a fast answer with the flags he has to activate/play with. These flags were configured inside the Flagship dashboard beforehand.

What is the role of each body parameter?

  • visitorId = anonymized unique identifier given by your developers

  • context = context of your visitor, it can be technical (device, geolocation, browser, etc.) but also behavioral (early adopters, loyalty program, cart amount, etc.)

  • trigger_hit = this parameter aims at specifying to Flagship that a user has been assigned to a feature and has correctly seen it. This means that all flags returned by the Decision API would make a +1 count in the reporting of each feature if set to true. It can be set to false only if you want to get the different flag and tell the Decision API that the user saw it later. For example, you are targeting several features for “All users”, but one of the features is only present in the cart page. Then, you will set that parameter to false, and trigger what we call an “activate endpoint” to say “My visitor now sees the feature”.

  • decision_group = all visitors with the same decision_group will see the same flag value based on the first to trigger it. This can be useful when you want all people from the same company to see the exact same variation of an experiment.

  • X-api-key = this is an authentication option linked to your account environment, to make sure that you and only you are calling the Decision API. Each environment has their own API Key.

If you need more information, please don’t hesitate to contact our support team, we’ll be happy to help you!

PreviousWebhooks pageNextConfiguring account restrictions with MFA

Last updated 2 days ago

Was this helpful?