Skip to main content
GET
/
v1
/
assets
/
{id}
Get an asset
curl --request GET \
  --url https://api.scrip.dev/v1/assets/{id} \
  --header 'X-API-Key: <api-key>'
{
  "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"
}
Returns a single asset by its id, including its full configuration: name, symbol, inventory_mode, issuance_policy, and scale. Use this to verify an asset’s immutable settings before linking it to a program or referencing it in a rule. The response also includes metadata like creation timestamp and the list of programs the asset is linked to.
For usage patterns and examples, see the Asset Configuration guide.

Authorizations

X-API-Key
string
header
required

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

Path Parameters

id
string<uuid>
required

Asset ID

Response

Asset details

created_at
string<date-time>

When the asset was created

Example:

"2024-01-15T10:30:00Z"

deleted_at
string<date-time>

Set when the asset is archived

id
string<uuid>

Asset ID

Example:

"550e8400-e29b-41d4-a716-446655440000"

inventory_mode
string

How balances are tracked

Example:

"SIMPLE"

issuance_policy
string

How value is issued

Example:

"UNLIMITED"

max_transaction_amount
string

Optional per-transaction ceiling. Null means no limit

Example:

"10000.00"

name
string

Asset name

Example:

"Bonus Points"

program_ids
string[]

Programs this asset is linked to

Example:
["550e8400-e29b-41d4-a716-446655440001"]
scale
integer

Decimal precision

Example:

2

status
string

Lifecycle state

Example:

"ACTIVE"

symbol
string

Short code for this asset

Example:

"PTS"

updated_at
string<date-time>

When the asset was last modified

Example:

"2024-01-15T10:30:00Z"