Skip to main content
POST
/
api
/
external
/
v1
/
schedules
List Schedules
curl --request POST \
  --url https://app.magna.so/api/external/v1/schedules \
  --header 'Content-Type: application/json' \
  --header 'x-magna-api-token: <api-key>' \
  --data '
{
  "tokenId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
'
{
  "isProcessed": true,
  "result": {
    "items": [
      {
        "id": "sch...uuid",
        "key": "S-ABC123",
        "name": "4y monthly, 1y cliff",
        "description": null,
        "unlockAtStart": 0,
        "cliff": {
          "value": 0,
          "duration": 1,
          "period": "YEAR"
        },
        "roundingMode": "FLOOR",
        "createdAt": "2024-04-15T21:26:21.000Z"
      }
    ],
    "total": 1
  }
}

Authorizations

x-magna-api-token
string
header
required

Body

application/json
tokenId
string<uuid>
required
Minimum string length: 1

Response

Successful response

isProcessed
boolean
result
any

Endpoint-specific result payload.