Skip to main content
GET
Get a location

Authorizations

Authorization
string
header
required

Origin One API token. Pass it in the Authorization header: Authorization: Bearer <token>.

Path Parameters

id
string
required

Unique identifier of the resource.

Example:

"123"

Response

Success.

id
string
required

Unique identifier of the location.

Example:

"456"

name
string
required

Location name.

Example:

"Acme Downtown"

object
enum<string>
required

Object type; always location.

Available options:
location
Example:

"location"

address
object | null
required

Postal address; null when the location has none.

company
object
required

Company the location belongs to.

createdAt
string<date-time>
required

When the location was created.

Example:

"2025-01-15T10:30:00.000Z"

phone
string | null
required

Primary phone number.

Example:

"+1-206-555-0142"

url
string<uri-reference>
required

Canonical path of this resource, relative to the API origin.

Example:

"/api/v2/locations/456"