Intempt
  1. API Reference
Intempt
  • Installation
    • Basic Intempt Installation
    • Create source
    • Web Snippet
    • Google Tag Manager
    • Autocapture setup
    • SPA tracking
    • Environment Setup
    • Validating Installation
  • SDK
    • JS SDK
    • Android SDK
    • iOS SDK
    • Node.js SDK
  • API Reference
    • Track data
      POST
    • Consent
      POST
    • Choose API
      POST
    • Recommendations Feed API
      POST
  • Data Ingestion & Tracking
    • identify()
    • track()
    • record()
    • alias()
    • group()
    • consent()
    • intempt:html / intempt:page / intempt:session
    • Product Catalog Ingestion via API
  • Data Models & Event Schema
    • Event Schema Overview
    • Required Fields
    • Attribute Schema
    • Product Catalog Schema
  • Webhooks
    • Webhook Configuration
  • Server Side Experiments
    • Overview
    • Choose API endpoint
    • Handling Experiment Response
  1. API Reference

Choose API

POST
/{orgName}/projects/{projectName}/optimization/choose-api

Request

Path Params

Query Params

Body Params application/json

Examples

Responses

🟢200OK
application/json
200
Body

🟠400Bad Request
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '//projects//optimization/choose-api?apiKey' \
--header 'Content-Type: application/json' \
--data-raw '{
    "identification": "{         \"sourceId\": \"1575686747310551XXX\",         \"profileId\": \"profile_c2daf740e3e9f7aa48c6f6563f192XXX\"     }",
    "names": [
        "name_1"
    ],
    "groups": [
        "group_1"
    ],
    "device": "mobile",
    "sessionId": "my_session_1"
}'
Response Response Example
200 - Success
{
    "choices": []
}
Modified at 2025-11-26 15:54:15
Previous
Consent
Next
Recommendations Feed API
Built with