Skip to main content
GET
/
organizations
/
info
import cobo_waas2
from cobo_waas2.models.org_info import OrgInfo
from cobo_waas2.rest import ApiException
from pprint import pprint

# See configuration.py for a list of all supported configurations.
configuration = cobo_waas2.Configuration(
    # Replace `<YOUR_PRIVATE_KEY>` with your private key
    api_private_key="<YOUR_PRIVATE_KEY>",
    # Select the development environment. To use the production environment, change the URL to https://api.cobo.com/v2.
    host="https://api.dev.cobo.com/v2",
)
# Enter a context with an instance of the API client
with cobo_waas2.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = cobo_waas2.OrganizationsApi(api_client)

    try:
        # Get organization information
        api_response = api_instance.get_org_info()
        print("The response of OrganizationsApi->get_org_info:\n")
        pprint(api_response)
    except Exception as e:
        print("Exception when calling OrganizationsApi->get_org_info: %s\n" % e)

{
  "org_id": "f47ac10b-58cc-4372-a567-0e02b2c3d479",
  "biz_org_id": 1,
  "name": "Org name",
  "created_timestamp": 1718619403933
}
import cobo_waas2
from cobo_waas2.models.org_info import OrgInfo
from cobo_waas2.rest import ApiException
from pprint import pprint

# See configuration.py for a list of all supported configurations.
configuration = cobo_waas2.Configuration(
    # Replace `<YOUR_PRIVATE_KEY>` with your private key
    api_private_key="<YOUR_PRIVATE_KEY>",
    # Select the development environment. To use the production environment, change the URL to https://api.cobo.com/v2.
    host="https://api.dev.cobo.com/v2",
)
# Enter a context with an instance of the API client
with cobo_waas2.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = cobo_waas2.OrganizationsApi(api_client)

    try:
        # Get organization information
        api_response = api_instance.get_org_info()
        print("The response of OrganizationsApi->get_org_info:\n")
        pprint(api_response)
    except Exception as e:
        print("Exception when calling OrganizationsApi->get_org_info: %s\n" % e)

Authorizations

BIZ-API-KEY
string
header
required

The API key. For more details, refer to API key.

In the API playground, enter your API secret, and your API key will be accordingly calculated.

Response

The request was successful.

The information of an organization. To learn more about organizations, see Introduction to Organization.

org_id
string
required

The organization ID.

Example:

"f47ac10b-58cc-4372-a567-0e02b2c3d479"

biz_org_id
integer

An internal business ID assigned by Cobo. Used mainly by Cobo's customer support to locate the organization.

Example:

1

name
string

The organization name.

Example:

"Org name"

created_timestamp
integer

The organization's creation time in Unix timestamp format, measured in milliseconds.

Example:

1718619403933