curl. Replace <TOKEN>, <PROJECT_ID>, <GROUP_ID>, and <SIM_ID> with the values returned at each step.
Log in and get your access token
Send your credentials to the login endpoint. The response contains an Save the
access_token you will include in every subsequent request.access_token value — you will pass it as a bearer token in the Authorization header for all authenticated requests. Access tokens expire after 15 minutes; see Authentication for how to refresh them.Create a project
A project is the top-level container for your research initiative. Give it a name that reflects your campaign or product.Save the
id value as PROJECT_ID.Define a persona group
A persona group defines the demographic profile of your target segment. Boses uses these fields to generate realistic individual AI consumers grounded in real market data for the specified location.Save the
id value as GROUP_ID.Generate personas
Trigger persona generation for the group. Boses creates individual AI consumers in the background, drawing on real consumer signals from Reddit, Shopee, and app store reviews for the target market.The endpoint returns immediately with
202 Accepted. Poll GET /projects/<PROJECT_ID>/persona-groups/<GROUP_ID> until generation_status is "complete" — this typically takes 20–40 seconds.Run a concept test
Create a simulation against your persona group. A concept test presents your idea or brief to each persona and collects individual reactions and an aggregate summary.Save the simulation
id as SIM_ID. The simulation runs in the background and moves through the states pending → running → generating_report → complete.Simulation types
Boses supports six simulation types. Choose the one that matches your research objective.| Type | simulation_type value | Best for |
|---|---|---|
| Concept test | concept_test | Testing a product idea, campaign concept, or creative stimulus against a group of personas |
| Survey | survey | Structured questionnaires with Likert scales, multiple choice, and open-ended questions |
| Focus group | focus_group | Multi-turn group discussion to surface emergent themes and group dynamics |
| In-depth interview (automated) | idi_ai | Deep one-on-one exploration of attitudes using an uploaded interview script |
| In-depth interview (manual) | idi_manual | Interactive chat session where you interview a single AI persona yourself |
| Conjoint analysis | conjoint | Feature preference trade-offs and willingness-to-pay across product attribute profiles |
