/api/v1/locations/{record}/assignments/people
List location people
List current people for this location.
Last updated
Request
GET /api/v1/locations/{record}/assignments/people
Requires locations:assignments, people:update. See token permissions. Every listed permission is required for this endpoint.
Send Authorization: Bearer YOUR_API_TOKEN and Accept: application/json.
record is the numeric location ID in your token’s organization.
Query parameters
| Field | Type | Usage |
|---|---|---|
page |
integer | Optional. Starts at 1; default 1. |
per_page |
integer | Optional. 1–100; default 25. |
Example
Set ASSETCENTER_API_TOKEN as described in the quick start. Replace example record and option IDs with values from your organization.
curl --request GET "https://my.assetcenter.app/api/v1/locations/123/assignments/people" \
--header "Authorization: Bearer $ASSETCENTER_API_TOKEN" \
--header "Accept: application/json"
Response
200 OK. Example response; IDs, values, and timestamps will differ in your organization.
{
"data": [
{
"id": 42,
"name": "Example assignment"
}
],
"links": {
"next": null,
"prev": null
},
"meta": {
"current_page": 1,
"last_page": 1,
"per_page": 25,
"total": 1
}
}
Behavior and constraints
Existing inactive assignees remain visible. Follow pagination to collect the complete current assignment set before replacing it.
Errors
401 means the token is missing, expired, revoked, or not a customer API token. 403 means a required permission or administrator access is missing. 404 means the record or child record is unavailable in this organization. 422 identifies invalid or unsupported input; inspect the errors object when present. 429 means a rate limit was reached. See error handling and rate limits.