Skip to main content
POST
/
api
/
v2
/
social
/
flex-cards
Publish flex card
curl --request POST \
  --url https://api.quantdesk.app/api/v2/social/flex-cards \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "run_id": "b4f1c2a0-6d3e-4f7a-9c1b-0a2d3e4f5a6b",
  "title": "BTC MR — verified",
  "description": "Mean-reversion strategy, 90-day backtest."
}
'
{
  "success": true,
  "data": {
    "flex_card_id": "fc_9x2k1",
    "run_id": "b4f1c2a0-6d3e-4f7a-9c1b-0a2d3e4f5a6b",
    "title": "BTC MR — verified",
    "description": "Mean-reversion strategy, 90-day backtest.",
    "badges": [
      "gate-verified"
    ]
  }
}

Authorizations

Authorization
string
header
required

Bearer JWT obtained from the wallet session flow. See the Authentication guide.

Body

application/json
run_id
string
required

Completed backtest run that passed the deploy gate.

Example:

"b4f1c2a0-6d3e-4f7a-9c1b-0a2d3e4f5a6b"

title
string
required

Display title (max 120 characters).

Maximum string length: 120
Example:

"BTC MR — verified"

description
string

Optional blurb.

Example:

"Mean-reversion strategy, 90-day backtest."

Response

Flex card created

success
boolean
Example:

true

data
object