Execute Recommended Action
Changed onRuns a ready action. The caller must be a user. The caller must also have every scope that the operations in the action's workflow steps need. Each step is sent in order, as the caller. The response returns when the run starts. Retrieve the action to follow the status of each step.
Request
- Base URLhttps://api.whop.com/api/v1
- AuthHTTP bearer
Path parameters
Recommended action ID, prefixed reca_.
Headers
Pins the request to a dated API version.
A unique key that makes this request safe to retry. See Idempotent requests.
Response
Run started
The account the action is for, prefixed biz_.
When the action was created, as an ISO 8601 timestamp.
The experiment measuring the action's outcome, prefixed expt_. null when there is none.
Recommended action ID, prefixed reca_.
The website change a recommended action makes when it runs. type picks the shape. New types can be added, so skip a preview whose type you do not know.
Why Whop recommends the action, written for the account owner.
The user who ran the action, prefixed user_. null until the action runs.
When the run ended, as an ISO 8601 timestamp. null until the run ends.
When the run started, as an ISO 8601 timestamp. null until the action runs.
Where the action is. preparing while its work is built, and it cannot run yet. ready when it can run. running while its steps are sent. executed when every step succeeded. failed when the run ended before every step succeeded. dismissed when the owner chose not to run it. superseded when Whop retired it, such as for a newer action.
What the action does, written for the account owner.
What kind of change the action makes. New values can be added, so skip an action whose type you do not know.
When the action was last updated, as an ISO 8601 timestamp.
Example response
{
"account_id": "biz_xxxxxxxxxxxxxx",
"created_at": "2026-01-01T12:00:00.000Z",
"id": "reca_xxxxxxxxxxxxxx",
"preview": {
"changed_resources": [
{
"id": "plan_xxxxxxxxxxxxxx",
"resource_type": "variant"
}
],
"type": "website_change"
},
"reasoning": "Visitors who reach your pricing section buy, but most leave the home page before they scroll to it.",
"run_by_user_id": "user_xxxxxxxxxxxxxx",
"run_started_at": "2026-01-01T12:00:00.000Z",
"status": "running",
"target_stats": [
{
"direction": "up",
"estimate": 1240,
"metric": "gross_revenue",
"params": {
"from": "2026-01-01",
"product": "prod_xxxxxxxxxxxxxx",
"to": "2026-01-01"
}
}
],
"title": "Lead your home page with before and after detailing photos",
"type": "improve_landing_page",
"updated_at": "2026-01-01T12:00:00.000Z",
"workflow": {
"api_version": "2026-01-01",
"steps": [
{
"arguments": {
"id": "plan_xxxxxxxxxxxxxx",
"visibility": "hidden"
},
"operation": "updatePlan",
"status": "pending",
"title": "Offer the Ceramic Coating Package on the website"
}
]
}
}Changes
- warning
added the new
create_message_automationenum value to thetyperesponse property for the response status - info
removed the
create_email_automationenum value from thetyperesponse property for the response status
- warning
- warning
added the new
promo_codeenum value to thepreview/oneOf[#/components/schemas/RecommendedActionPreview]/oneOf[#/components/schemas/RecommendedActionWebsiteAbTestPreview]/changed_resources/items/resource_typeresponse property for the response status
1 more change in this revision
- warning