Programs

List program assets

List assets linked to a program.

get/v1/programs/{program_id}/assets

Request

  • Base URL: https://api.scrip.dev
  • URL: https://api.scrip.dev/v1/programs/{program_id}/assets
  • Auth: HTTP bearer

Path parameters

program_idstring uuid required

The program's id.

Query parameters

limitinteger

Return at most this many records, from 1 to 200, default 50.

cursorstring

The next_cursor from the previous response, valid only with the same endpoint and filters.

created_afterstring date-time

Return only records created after this time, RFC 3339.

created_beforestring date-time

Return only records created before this time, RFC 3339.

Response

List of assets

Example response

{
  "data": [
    {
      "created_at": "2027-01-15T10:30:00Z",
      "deleted_at": "2027-01-15T10:30:00Z",
      "id": "a3bb189e-8bf9-4c8b-9be0-6b5d2f4e7a02",
      "inventory_mode": "SIMPLE",
      "issuance_policy": "UNLIMITED",
      "max_transaction_amount": "10000.00",
      "name": "Points",
      "program_ids": [
        "8f14e45f-ceea-4e70-9df8-2a7d1b3c9f01"
      ],
      "scale": 2,
      "status": "ACTIVE",
      "symbol": "PTS",
      "updated_at": "2027-01-15T10:30:00Z"
    }
  ],
  "pagination": {
    "has_more": true,
    "next_cursor": "YWJjMTIz"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.