POST
/
api
/
organization
/
build
{
  "type": "success",
  "code": "ORGANIZATION.DATABASE.INITIALIZED",
  "message": "The organization database has been initialized.",
  "data": {
    "job_id": "1"
  }
}

Headers

Authorization
string
required

Value must be 'Bearer <token>' where <token> is an API key prefixed with 'bc_' or a JWT token.

Example:

"Bearer bc_1234567890abcdef"

organization-id
string
required

Required if Authorization is a JWT token. The organization ID to operate within.

Body

application/json
name
string
required

Organization name

Example:

"Acme Inc."

location
string
required

Country location in ISO 3166-1 alpha-2 format

Example:

"US"

baseCurrency
string
required

Base currency in ISO 4217 format

Example:

"USD"

timezone
string
required

Timezone of the organization

Example:

"America/New_York"

fiscalYear
string
required

Starting month of fiscal year

Example:

"January"

language
string
required

Language/locale of the organization

Example:

"en-US"

industry
string

Industry of the organization

Example:

"Technology"

dateFormat
string

Date format used by the organization

Example:

"MM/DD/YYYY"

Response

The organization database has been initialized

The response is of type any.