curl --request GET \
--url https://api.cashful.africa/api/canary/authentication/organization/list \
--header 'Authorization: Bearer <token>'[
{
"id": "org_12345",
"name": "Acme Corp",
"slug": "acme-corp",
"createdAt": "2024-01-01T00:00:00Z",
"logo": "https://www.cashful.africa/logo.png",
"metadata": {
"plan": "pro"
}
}
]List all organizations for the current user
curl --request GET \
--url https://api.cashful.africa/api/canary/authentication/organization/list \
--header 'Authorization: Bearer <token>'[
{
"id": "org_12345",
"name": "Acme Corp",
"slug": "acme-corp",
"createdAt": "2024-01-01T00:00:00Z",
"logo": "https://www.cashful.africa/logo.png",
"metadata": {
"plan": "pro"
}
}
]Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Include additional organization data
true
Organizations listed successfully
Organization ID
"org_12345"
Organization name
"Acme Corp"
Organization slug
"acme-corp"
Organization creation date
"2024-01-01T00:00:00Z"
Organization logo
"https://www.cashful.africa/logo.png"
Organization metadata
{ "plan": "pro" }