Skip to main content
GET
Get location
The endpoint for retrieving a single location requires specifying the API version in the path and one identifier in the query: either id or companyNumber. For details on how versioning works, see the Versioning page.

Request Parameters

Path parameters
Exactly one of id or companyNumber must be provided.

Example cURL requests

Lookup by id:
Lookup by companyNumber:

Response Parameters

Example Response

Rate Limits

All endpoints are subject to platform rate limits. See Rate Limits.

Authorizations

Authorization
string
header
required

OAuth 2.0 client-credentials access token. Obtain one from https://auth.alvys.com/oauth/token (grant_type=client_credentials, audience=https://api.alvys.com/public/), then paste it here. The playground sends it as Authorization: Bearer <token>.

Path Parameters

version
string
default:1.0
required

API version (e.g., 1.0)

Example:

"1.0"

Query Parameters

id
string
companyNumber
string

Response

OK

Id
string
required
Name
string
required
CompanyNumber
string
required
Type
string
required
Status
string
required
Email
string[]
required
Phone
string[]
required
Notes
object[]
required
PhysicalAddress
object | null
Fax
string | null
DateCreated
string<date-time> | null
ExternalId
string | null