Skip to content
Suomi

The integration's organisation and its settings

GET
/v1/organisation
Code sample: Shell / cURL
curl --request GET \
--url https://api.whatsbuilt.fi/v1/organisation \
--header 'Authorization: Bearer <token>'

The organisation

Media typeapplication/json

Organisation: the caller’s organisation and its settings.

object
id
required
string format: uuid
name
required
string
gs1_company_prefix
required
string | null
giai_mode
required
string
default_language
required
One of:

An interface language as /v1 answers it.

string
Allowed values: fi en
mcp_enabled
required
boolean
public_api_enabled
required
boolean
created_at
required
string

Example

{
"default_language": "fi"
}

Missing, malformed, expired or revoked token

Media typeapplication/json

The error body of every /v1 answer of 400 or more.

object
error
required

A sentence for people; it may change

string
code
required

Part of the contract

string
details

What the code names, where it names something

request_id
required

The X-Request-Id of the call

string

Example generated

{
"error": "example",
"code": "example",
"details": "example",
"request_id": "example"
}

INSUFFICIENT_SCOPE, or PUBLIC_API_DISABLED when an admin of the integration’s organisation, or on a per-project route of the project’s owning organisation, has turned the API off

Media typeapplication/json

The error body of every /v1 answer of 400 or more.

object
error
required

A sentence for people; it may change

string
code
required

Part of the contract

string
details

What the code names, where it names something

request_id
required

The X-Request-Id of the call

string

Example generated

{
"error": "example",
"code": "example",
"details": "example",
"request_id": "example"
}

RATE_LIMITED; wait for Retry-After seconds

Media typeapplication/json

The error body of every /v1 answer of 400 or more.

object
error
required

A sentence for people; it may change

string
code
required

Part of the contract

string
details

What the code names, where it names something

request_id
required

The X-Request-Id of the call

string

Example generated

{
"error": "example",
"code": "example",
"details": "example",
"request_id": "example"
}