| Data Dimension Authorization | Agent-level Authorization | This API requires agent-level authorization. You need an authorization account with agent-level authorization to call this API. Please refer to Authorization Methods. |
| Interface Dimension Authorization | Default Authorization | This API is granted by default, so you don't need to apply for interface dimension authorization separately for your authorization account. Please refer to Authorization Methods. |
| HTTP URL Path | /v1/corp/corp_info |
| HTTP Method | GET |
| Parameter | Type | Required | Description |
| ov_corpid | string | Yes | Enterprise ID |
# Please replace the entry point with yours according to your region
curl --location 'https://global-openapi.orionstar.com/v1/corp/corp_info?ov_corpid=test_ov_corpid' \
--header 'Authorization: Bearer YOUR-ACCESS-TOKEN'
Common Response Body
| Parameter | Type | Description |
| code | int | Error code. 0 means success, non-zero means failure, Please refer to Error Codes. |
| msg | string | Error description. When there is a failure, a specific error description will be provided. |
| req_id | string | Log tracking ID. When encountering problems that require assistance from OrionStar, please provide this tracking ID value. |
| data | object | Business data object, see below for details Response Body Data Object. |
Response Body Data Object
| Parameter | Type | Description |
| ov_corpid | string | Enterprise ID |
| corp_name | string | Enterprise name |
| create_time | string | Creation time, integer timestamp in seconds. |
| update_time | string | Last modification time, integer timestamp in seconds. |
Response Body Example
{
"code": 0,
"msg": "",
"data": {
"corp": {
"ov_corpid": "orion.ovs.entprise.12345678",
"corp_name": "Test Enterprise",
"create_time": "1711966681",
"update_time": "1711966681"
}
}
}