Recruit paid participants (two calls)
/studies/{id}/recruitingRecruits paid participants for a running study, as the study page's recruiting form does. Always two calls. The first call, without confirm, recruits nobody and spends nothing: it prepares the listing and returns its one recruiting price and what it covers, the length it advertises, who will be recruited (what the panel filters on, and what it cannot, which the study's screening questions enforce instead), the quality bar, the workspace's credit and whether it covers the price, the identity check's cost per person as its own line when the study has it on (billed outside the recruiting price), a total of everything Jean can price, and a confirmation code valid for 10 minutes. Show all of that to the researcher and ask whether to recruit. Only after they say yes, call again with the same studyId and confirm set to the code: it publishes for exactly the quoted price and takes it from credit. If the price, the credit, the spend limit or the study changed, or the code is wrong, expired or used, it publishes nothing and says why and what to do. A retry with the same code never publishes or charges twice. People usually start arriving within minutes; follow with get_recruiting and list_conversations. Defaults: the places the study still needs, the suggested reward for its length, and the page's quality bar. Order of work: draft_study, edit_study, launch_study, recruit_participants, get_recruiting, list_conversations, get_results. (The MCP tool recruit_participants.)
Scope recruiting:write · Credential a workspace API key (jean_sk_…, make one in the Jean app) or an OAuth access token. See scopes.
curl --fail-with-body -X POST "https://app.jeantechnologies.com/api/v1/studies/STUDY_ID/recruiting" \
-H "Authorization: Bearer $JEAN_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"places": 1
}'
An Idempotency-Key header is optional here and makes a retry safe. See idempotency.
Path
| Name | Type | Required | Notes |
|---|---|---|---|
id | string (UUID) | yes |
Body
| Field | Type | Required | Notes |
|---|---|---|---|
places | integer | no | How many people to recruit. Default: the places the study still needs. 1 to 2000. |
rewardDollars | number | no | What each person is paid, in US dollars. Default: the suggested reward for the interview's length (Jean requires at least $8 an hour). 0.5 to 1000. |
quality | object or null | no | Who may take part, by their record on the panel. Default: an approval rate of at least 98% and at least 20 past approved studies, as the study page suggests. null for no bar. |
quality.minApprovalRate | integer | no | 0 to 100. |
quality.minPastStudies | integer | no | 0 to 100000. |
confirm | string | no | The confirmation code returned by the first call. Leave out on the first call. At most 100 characters. |
Response · 200
| Field | Type | Required | Notes |
|---|---|---|---|
recruited | boolean | yes | True only when the listing is published: people can now be recruited and the price was charged. |
outcome | "quoted", "published", "already published", "refused" | yes | |
confirmationCode | string or null | yes | After the first call: pass it back as confirm once the researcher agrees. Valid 10 minutes, for exactly these terms and this price. |
said | string | yes | What happened or why not, in one or two sentences. |
listing | object or null | yes | |
listing.id | string | yes | |
listing.state | "being prepared", "not published", "being published", "recruiting", "paused", "finished", "stopped", "failed" | yes | |
listing.places | integer | yes | |
listing.rewardMinor | integer | yes | What each person is paid, in US cents. |
listing.minutes | integer | yes | The length the listing advertises. |
listing.priceMinor | integer or null | yes | The listing's price: on Jean's account the one recruiting price; on the workspace's own account what that account pays the panel. |
listing.audienceApplied | string | yes | Who the panel shows the listing to: the filters it applies. |
listing.notApplied[] | object[] | yes | Parts of the audience the panel cannot filter on. |
listing.screenerEnforces | boolean | yes | Whether the study has screening questions, which turn away people who do not fit. |
listing.quality | object or null | yes | The quality bar the listing was made with. Null for none. |
credit | object or null | yes | |
credit.billingOn | boolean | yes | |
credit.recruitsThrough | "jean", "own account", "own account, not billed" | yes | jean: Jean recruits the people and takes one price from credit. own account: the workspace recruits on its own connected panel account, which pays the panel; what Jean charges for recruiting comes from credit. own account, not billed: billing is off and the own account pays everything. |
credit.availableMinor | integer or null | yes | Credit that can be spent now, in US cents. Null when billing is off. |
credit.coversThis | boolean or null | yes | Whether the available credit covers what this takes from credit. Null when nothing is taken from credit. |
credit.withinSpendLimit | boolean or null | yes | Whether this stays within the workspace's monthly spend limit. Null when there is no limit. |
credit.spendLimitMinor | integer or null | yes | |
credit.ownAccount | object or null | yes | The workspace's own panel account, when it recruits on one. |
lines[] | object[] | yes | |
lines[].item | string | yes | |
lines[].count | integer or null | yes | How many, for a line priced per person. |
lines[].eachMinor | integer or null | yes | The price of one, in cents. |
lines[].amountMinor | integer or null | yes | The line's amount in US cents. Null when it cannot be priced. |
lines[].fromCredit | boolean | yes | Whether this amount is taken from the workspace's prepaid credit. |
lines[].paidBy | string | yes | Who pays it, in words. |
lines[].basis | string | yes | What the figure rests on. |
totalMinor | integer | yes | Every line Jean can price, added up, in US cents. |
fromCreditMinor | integer | yes | Of the total, what is taken from the workspace's credit. |
notPriced[] | string[] | yes | What costs something and is not priced here. |
consoleUrl | string | yes | |
insufficientCredit | object or null | no | Set when the publish was refused because the workspace's credit does not cover it: the amounts and where an admin adds credit. |
insufficientCredit.code | "insufficient_credit" | yes | |
insufficientCredit.priceMinor | integer | yes | |
insufficientCredit.availableMinor | integer | yes | |
insufficientCredit.shortMinor | integer | yes | |
insufficientCredit.suggestedTopUpMinor | integer | yes | |
insufficientCredit.mayAddCredit | boolean | yes | |
insufficientCredit.addCreditUrl | string | yes |
The full response schema
{
"type": "object",
"properties": {
"recruited": {
"type": "boolean",
"description": "True only when the listing is published: people can now be recruited and the price was charged."
},
"outcome": {
"type": "string",
"enum": [
"quoted",
"published",
"already published",
"refused"
]
},
"confirmationCode": {
"description": "After the first call: pass it back as `confirm` once the researcher agrees. Valid 10 minutes, for exactly these terms and this price.",
"type": [
"string",
"null"
]
},
"said": {
"type": "string",
"description": "What happened or why not, in one or two sentences."
},
"listing": {
"anyOf": [
{
"type": "object",
"properties": {
"id": {
"type": "string"
},
"state": {
"type": "string",
"enum": [
"being prepared",
"not published",
"being published",
"recruiting",
"paused",
"finished",
"stopped",
"failed"
]
},
"places": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"rewardMinor": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991,
"description": "What each person is paid, in US cents."
},
"minutes": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991,
"description": "The length the listing advertises."
},
"priceMinor": {
"anyOf": [
{
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
{
"type": "null"
}
],
"description": "The listing's price: on Jean's account the one recruiting price; on the workspace's own account what that account pays the panel."
},
"audienceApplied": {
"type": "string",
"description": "Who the panel shows the listing to: the filters it applies."
},
"notApplied": {
"type": "array",
"items": {
"type": "object",
"properties": {
"attribute": {
"type": "string"
},
"values": {
"type": "array",
"items": {
"type": "string"
}
},
"why": {
"type": "string"
}
},
"required": [
"attribute",
"values",
"why"
],
"additionalProperties": false
},
"description": "Parts of the audience the panel cannot filter on."
},
"screenerEnforces": {
"type": "boolean",
"description": "Whether the study has screening questions, which turn away people who do not fit."
},
"quality": {
"anyOf": [
{
"type": "object",
"properties": {
"minApprovalRate": {
"type": "integer",
"minimum": 0,
"maximum": 100,
"description": "Lowest approval rate on the panel, in percent."
},
"minPastStudies": {
"type": "integer",
"minimum": 0,
"maximum": 100000,
"description": "Fewest past approved studies on the panel."
}
},
"required": [
"minApprovalRate",
"minPastStudies"
],
"additionalProperties": false
},
{
"type": "null"
}
],
"description": "The quality bar the listing was made with. Null for none."
}
},
"required": [
"id",
"state",
"places",
"rewardMinor",
"minutes",
"priceMinor",
"audienceApplied",
"notApplied",
"screenerEnforces",
"quality"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"credit": {
"anyOf": [
{
"type": "object",
"properties": {
"billingOn": {
"type": "boolean"
},
"recruitsThrough": {
"type": "string",
"enum": [
"jean",
"own account",
"own account, not billed"
],
"description": "jean: Jean recruits the people and takes one price from credit. own account: the workspace recruits on its own connected panel account, which pays the panel; what Jean charges for recruiting comes from credit. own account, not billed: billing is off and the own account pays everything."
},
"availableMinor": {
"anyOf": [
{
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
{
"type": "null"
}
],
"description": "Credit that can be spent now, in US cents. Null when billing is off."
},
"coversThis": {
"description": "Whether the available credit covers what this takes from credit. Null when nothing is taken from credit.",
"type": [
"boolean",
"null"
]
},
"withinSpendLimit": {
"description": "Whether this stays within the workspace's monthly spend limit. Null when there is no limit.",
"type": [
"boolean",
"null"
]
},
"spendLimitMinor": {
"anyOf": [
{
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
},
"ownAccount": {
"anyOf": [
{
"type": "object",
"properties": {
"label": {
"type": "string"
},
"balanceMinor": {
"anyOf": [
{
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
}
},
"required": [
"label",
"balanceMinor"
],
"additionalProperties": false
},
{
"type": "null"
}
],
"description": "The workspace's own panel account, when it recruits on one."
}
},
"required": [
"billingOn",
"recruitsThrough",
"availableMinor",
"coversThis",
"withinSpendLimit",
"spendLimitMinor",
"ownAccount"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"lines": {
"type": "array",
"items": {
"type": "object",
"properties": {
"item": {
"type": "string"
},
"count": {
"anyOf": [
{
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
{
"type": "null"
}
],
"description": "How many, for a line priced per person."
},
"eachMinor": {
"anyOf": [
{
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
{
"type": "null"
}
],
"description": "The price of one, in cents."
},
"amountMinor": {
"anyOf": [
{
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
{
"type": "null"
}
],
"description": "The line's amount in US cents. Null when it cannot be priced."
},
"fromCredit": {
"type": "boolean",
"description": "Whether this amount is taken from the workspace's prepaid credit."
},
"paidBy": {
"type": "string",
"description": "Who pays it, in words."
},
"basis": {
"type": "string",
"description": "What the figure rests on."
}
},
"required": [
"item",
"count",
"eachMinor",
"amountMinor",
"fromCredit",
"paidBy",
"basis"
],
"additionalProperties": false
}
},
"totalMinor": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991,
"description": "Every line Jean can price, added up, in US cents."
},
"fromCreditMinor": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991,
"description": "Of the total, what is taken from the workspace's credit."
},
"notPriced": {
"type": "array",
"items": {
"type": "string"
},
"description": "What costs something and is not priced here."
},
"consoleUrl": {
"type": "string"
},
"insufficientCredit": {
"description": "Set when the publish was refused because the workspace's credit does not cover it: the amounts and where an admin adds credit.",
"anyOf": [
{
"type": "object",
"properties": {
"code": {
"type": "string",
"const": "insufficient_credit"
},
"priceMinor": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"availableMinor": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"shortMinor": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"suggestedTopUpMinor": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"mayAddCredit": {
"type": "boolean"
},
"addCreditUrl": {
"type": "string"
}
},
"required": [
"code",
"priceMinor",
"availableMinor",
"shortMinor",
"suggestedTopUpMinor",
"mayAddCredit",
"addCreditUrl"
],
"additionalProperties": false
},
{
"type": "null"
}
]
}
},
"required": [
"recruited",
"outcome",
"confirmationCode",
"said",
"listing",
"credit",
"lines",
"totalMinor",
"fromCreditMinor",
"notPriced",
"consoleUrl"
],
"additionalProperties": false
}
Errors
| Status | Meaning |
|---|---|
400 | The request is not valid: the body is not JSON, a field is wrong (listed in errors), or a required Idempotency-Key is missing. |
401 | No key or token, or one that is wrong, expired or revoked. |
403 | The key or connection lacks the scope this operation needs. scope names it. |
404 | No such address, or no study (or conversation) with that id in this workspace. Another workspace's id is answered the same way. |
409 | The study is not in a state that allows this (the detail says what to do instead), or the Idempotency-Key was used with a different request. |
429 | Too many requests from this key or connection, or the workspace has reached its hourly or daily limit for model calls (title "Workspace model limit reached", window says which). Retry-After says when to try again. |
503 | The language model is not available. Try again later. |
Every error is application/problem+json, the same shape on every endpoint.