/api/v1/asset-events
List asset event definitions
List asset event definitions in the organization attached to your public API key.
Last updated
Request
GET /api/v1/asset-events
Requires asset-events:read and an active token creator who remains an administrator of the token’s organization. Event setup and permissions.
Send Authorization: Bearer YOUR_API_TOKEN and Accept: application/json.
Query parameters
-
pageinteger Optional - Page number, starting at 1. Defaults to 1.
-
per_pageinteger Optional - Results per page, 1–100. Defaults to 25.
-
groupstring Optional - Filter by
acquisition,lifecycle,condition, ordecommission. Omit to include all four groups. -
visibleboolean Optional - Use
1for enabled definitions or0for hidden definitions. Omit to include both.
Example
Replace the example ID with an ID from your organization. Set ASSETCENTER_API_TOKEN as described in the quick start.
curl --request GET "https://my.assetcenter.app/api/v1/asset-events?group=lifecycle&per_page=25" \
--header "Authorization: Bearer $ASSETCENTER_API_TOKEN" \
--header "Accept: application/json"
Response
200 OK. Illustrative values; IDs and positions will differ.
{
"data": [
{
"id": 42,
"group": "lifecycle",
"name": "Inspection",
"icon": "box",
"color": "gray",
"visible": true,
"is_system": false,
"is_global": false,
"parent_id": null,
"position": 3,
"limit_to_categories": [],
"cost_category_id": null
}
],
"links": {
"next": null,
"prev": null
},
"meta": {
"current_page": 1,
"last_page": 1,
"per_page": 25,
"total": 1
}
}
Behavior and constraints
Definitions are ordered alphabetically by group, then by position and numeric ID. Follow links.next until null; additional pagination links and metadata are present. Lists omit fields and can_delete; use the detail endpoint for those. The token’s local override replaces its shared default. GET request bodies and unsupported filters are rejected.
Errors
401 means the customer token is missing, invalid, expired, or revoked, or its creator is inactive. 403 means the required permission or administrator membership is missing. 404 means the definition is unavailable in the token’s organization, including a shared ID already overridden. 422 means invalid or unsupported input. 429 means the rate limit was reached. Errors and limits.