Users
List user's organizations
List all organizations the authenticated user is a member of. Returns organizations, per-org functional access roles ("borrower", "vault-curator"), and a top-level union of all functional roles. Not all members receive functional roles; members without any will have an empty roles array for that org.
get/v3/users/me/organizations
Request
- Base URL: https://api.creditcoop.xyz
- URL: https://api.creditcoop.xyz/v3/users/me/organizations
- Auth: one of:
- HTTP bearer
- OAuth 2 (authorization code, authorization URL https://clerk.creditcoop.xyz/oauth/authorize, token URL https://clerk.creditcoop.xyz/oauth/token)
Response
Default Response
Example response
{
"organizations": [
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"name": "Acme Corp",
"slug": "acme-corp",
"header": null,
"description": null,
"overview": null,
"links": [
{
"id": "a10e8400-e29b-41d4-a716-446655440000",
"label": "#logo",
"linkText": null,
"iconUrl": null,
"url": "https://example.com/acme-logo.png"
}
]
},
{
"id": "660e8400-e29b-41d4-a716-446655440001",
"name": "Beta Inc",
"slug": "beta-inc",
"header": null,
"description": null,
"overview": null,
"links": []
}
],
"organizationAccessById": {
"550e8400-e29b-41d4-a716-446655440000": {
"roles": [
"borrower"
]
},
"660e8400-e29b-41d4-a716-446655440001": {
"roles": [
"vault-curator",
"vault-depositor-manager"
]
}
},
"roles": [
"borrower",
"vault-curator",
"vault-depositor-manager"
]
}Changes
No recorded changes to this operation across all 1 revision of this API.