/api/v1/locations/{record}
Get a location
Read the current details of one location.
Last updated
Request
GET /api/v1/locations/{record}
Requires locations:read. 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
No query parameters are required.
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" \
--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": 123,
"name": "Main office",
"address": null,
"city": "Seattle",
"state": null,
"zip": null,
"type": null,
"is_temporary": false,
"status": "active",
"created_at": "2026-09-07T16:00:00.000000Z",
"updated_at": "2026-09-07T16:00:00.000000Z"
}
}
Behavior and constraints
The object contains the public record fields shown above. Related records, custom-field values, files, and full history are not embedded. Use the timeline endpoint for history.
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. 429 means a rate limit was reached. See error handling and rate limits.