Skip to main content
GET
/
v1
/
programs
/
{programId}
/
assets
List program assets
curl --request GET \
  --url https://api.scrip.dev/v1/programs/{programId}/assets \
  --header 'X-API-Key: <api-key>'
{
  "data": [
    {
      "created_at": "2024-01-15T10:30:00Z",
      "deleted_at": "2023-11-07T05:31:56Z",
      "id": "550e8400-e29b-41d4-a716-446655440000",
      "inventory_mode": "SIMPLE",
      "issuance_policy": "UNLIMITED",
      "max_transaction_amount": "10000.00",
      "name": "Bonus Points",
      "program_ids": [
        "550e8400-e29b-41d4-a716-446655440001"
      ],
      "scale": 2,
      "status": "ACTIVE",
      "symbol": "PTS",
      "updated_at": "2024-01-15T10:30:00Z"
    }
  ],
  "pagination": {
    "has_more": true,
    "next_cursor": "YWJjMTIz"
  }
}
Lists all assets currently linked to a program. Assets are organization-level resources, and the same asset can be linked to multiple programs. The response includes each asset’s configuration, such as inventory_mode, issuance_policy, and scale. Use this to confirm which assets a program can reference in its rules before creating or updating rule definitions.
For usage patterns and examples, see the Programs guide.

Authorizations

X-API-Key
string
header
required

API key passed in the X-API-Key header.

Path Parameters

programId
string<uuid>
required

Program ID

Query Parameters

limit
integer
default:50

Maximum number of results (default 50, max 200)

Required range: x >= 1
cursor
string

Pagination cursor from previous response

Response

List of assets

data
object[]

Data contains the list of items

pagination
object

Pagination contains cursor information for fetching more results