Skip to main content

Get Experiment Share Link

GET/v2/project/{project_key}/experiment/{test_id}/share-link

Return the public share link for an experiment's results page. Share links let anyone view experiment results without logging in.

Path parameters​

ParameterDescription
project_keyYour project's API key
test_idThe numeric experiment ID

Example​

curl "https://api-{region}.mida.so/v2/project/YOUR_PROJECT_KEY/experiment/1234/share-link" \
-H "Authorization: Bearer YOUR_GENERATED_API_KEY"

Success response​

{
"success": true,
"test_id": 1234,
"company_id": 1001,
"share_link": "https://us.mida.so/share/abResult/1234/AbC123xY",
"is_public": true
}

Response fields​

FieldTypeDescription
share_linkstringThe full public URL to the experiment results page
is_publicbooleanWhether the share link is currently enabled
test_idintegerThe experiment ID
company_idintegerCompany that owns the experiment

Share links provide a read-only view of your experiment's pre-deploy results — variant performance, conversion rates, and statistical significance from the A/B test period — without requiring the viewer to have a Mida account. Post-deploy serving stats are not included on share links (the API always uses report_phase=pre_deploy for shared sessions). They are useful for:

  • Sharing results with stakeholders or clients
  • Embedding result URLs in reports or dashboards
  • Archiving experiment outcomes after the test ends
Share link must be enabled first

If is_public is false, the share link is disabled and the URL will not load. Enable sharing from the experiment's settings in the Mida dashboard before distributing the link.

Error responses​

StatusMeaning
401Invalid or missing API key
404Experiment not found or belongs to a different project