Skip to content

Company Profile

Returns the company profile.

Request

GET /api/oauth/v2/resource/company

HeaderValue
AuthorizationBearer {access_token}

This endpoint has no query parameters.

Response

Success (200 OK)

json
{
  "data": {
    "id": "550e8400-e29b-41d4-a716-446655440000",
    "name": "Praxis Dr. Huber",
    "street": "Hauptstraße 10",
    "zip": "1010",
    "city": "Wien",
    "country": "AT",
    "website": "https://www.praxis-huber.at",
    "email": "office@praxis-huber.at",
    "tel": "+43 1 234 5678",
    "telCode": "+43"
  }
}

Note: This endpoint returns a single object, not an array. There is no meta object in the response.

Response fields

FieldTypeDescription
data.idstring (UUID)Unique UUID of the company
data.namestringName of the company
data.streetstring | nullStreet and house number
data.zipstring | nullPostal code
data.citystring | nullCity
data.countrystring | nullCountry code (ISO 3166-1 alpha-2, e.g. AT)
data.websitestring | nullWebsite URL
data.emailstring | nullEmail address
data.telstring | nullPhone number
data.telCodestring | nullCountry dialing code
Beispiele
bash
curl -X GET "https://my.offisy.at/api/oauth/v2/resource/company" \
  -H "Authorization: Bearer {access_token}"
Zuerst Token anfordern

Possible errors

StatusCodeDescription
401invalid_clientInvalid or missing access token
403insufficient_scopeScope company not present

Offisy GmbH