Get the current workspace
GET
/v1/workspace
bird workspace getcurl -X GET "https://us1.platform.bird.com/v1/workspace" \
-H "Authorization: Bearer $TOKEN"响应200
{
"id": "ws_01krdgeqcxet5s7t44vh8rt9mg",
"organization_id": "org_01krdgeqcxet5s7t44vh8rt9mg",
"name": "Production",
"notification_emails": {
"operational": [
"alerts@example.com"
]
},
"created_at": "2026-05-20T09:14:52Z",
"updated_at": "2026-05-25T16:42:01Z"
}
Returns the workspace the current credentials are scoped to. Requires at least read access to that workspace.
响应载荷
id
string
必填
organization_id
string
必填
name
string
必填
notification_emails
object
必填
显示子属性
notification_emails.operational
array of string
Addresses for operational notifications about this workspace (sending domain authentication failures, webhook endpoint degradation). When empty, these notifications go to the organization owners. Maximum 10 addresses.
logo_url
nullable string
HTTPS URL to the current workspace logo. null when unset.
created_at
string
必填
updated_at
string
必填