Skip to main content
POST
/
api
/
v1
/
perps
/
positions
/
{assignmentId}
/
claim
Claim a take-profit close
curl --request POST \
  --url https://api.alpha-labs.trade/api/v1/perps/positions/{assignmentId}/claim \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "assignmentId": "<string>",
    "proposalId": "<string>",
    "marketSymbol": "<string>",
    "closePnlUsd": "12.50",
    "closePnlPct": "4.27",
    "closeProceedsUsd": "12.50",
    "closedBaseUnits": "<string>",
    "claimedAt": "2023-11-07T05:31:56Z"
  }
}

Authorizations

Authorization
string
header
required

Send your API key as Authorization: Bearer murmo_.... Keys are created in the Murmo app. Header-only — keys are never read from the query string. Valid for the REST API under /api/v1 only (not the GraphQL endpoint).

Path Parameters

assignmentId
string
required

Response

The claimed position.

data
object