Update Recommendation
Changed onDeprecated. Use POST /recommended_actions/:id/dismiss instead.Dismisses a ready recommendation. Send status: superseded. A recommendation that is already superseded stays unchanged. Other statuses and fields return a 400 that names /api/v1/recommended_actions.
Request
- Base URLhttps://api.whop.com/api/v1
- AuthHTTP bearer
Path parameters
Recommendation ID, prefixed reca_.
Query parameters
Account ID, prefixed biz_. Defaults to the API key's own account.
Headers
Pins the request to a dated API version.
Request body
Use superseded to dismiss a ready recommendation.
Example request
{
"status": "superseded"
}Response
recommendation superseded
ID of the account this recommendation is for, prefixed biz_.
Type of action recommended, or null when no type is assigned. New values may be added; handle unknown types gracefully.
When the recommendation was created, as an ISO 8601 timestamp.
When the recommendation was carried out, as an ISO 8601 timestamp, or null if it has not been.
Recommendation ID, prefixed reca_.
Evidence and metrics supporting the recommendation, or null when no reasoning was provided.
Where to view what the run produced, such as the published website or created product, or null when there is nothing to view.
The user who started the run, prefixed user_, or null if it has not run or was started without a user, such as with an API key.
When the run ended, whether executed or incomplete, as an ISO 8601 timestamp, or null if it has not ended.
When the run started, as an ISO 8601 timestamp, or null if it has not run.
queued waits for generation. pending is being generated or prepared. ready can run. running is sending its API calls. executed was carried out. incomplete ended before it was carried out. superseded was rejected or replaced.
When the recommendation was rejected or replaced, as an ISO 8601 timestamp, or null if neither has occurred.
Recommended action and its expected benefit, or null until generated.
Example response
{
"account_id": "biz_xxxxxxxxxxxxxx",
"action_type": "improve_landing_page",
"created_at": "2026-01-01T12:00:00.000Z",
"id": "reca_xxxxxxxxxxxxxx",
"reasoning": "Capped 9 of 14 days.",
"run_by_user_id": "user_xxxxxxxxxxxxxx",
"run_ended_at": "2026-01-01T12:00:00.000Z",
"run_started_at": "2026-01-01T12:00:00.000Z",
"status": "executed",
"superseded_at": "2026-01-01T12:00:00.000Z",
"title": "Move $180 from 3 dead ad groups into BATCH#3, +1.7x return"
}Changes
- breaking
the request property
statusbecame required - breaking
removed the enum value
acknowledgedof the request propertystatus - breaking
removed the enum value
executedof the request propertystatus
18 more changes in this revision
- breaking