Endpoint
Overview
Returns the organizations linked to your API key. An org-scoped key returns the single organization it belongs to. A profile-scoped key returns all organizations linked to the billing profile.Response
Array of organization objects
curl https://api.ugc.inc/org \
-H "Authorization: Bearer YOUR_API_KEY"
{
"ok": true,
"code": 200,
"message": "Success",
"data": [
{
"id": "org_123456",
"name": "My Organization"
}
]
}
List organizations linked to your API key
GET https://api.ugc.inc/org
curl https://api.ugc.inc/org \
-H "Authorization: Bearer YOUR_API_KEY"
{
"ok": true,
"code": 200,
"message": "Success",
"data": [
{
"id": "org_123456",
"name": "My Organization"
}
]
}