Get the organizations from user.
GET /aos/v1/organizations/users/{userId}
| Parameter | Type | Mandatory |
|---|---|---|
| projectId | string (uuid) | yes |
Status: 200 OK
{
"organizations": [
{
"id": "97740901-3431-4290-a799-ba27d1161508",
"name": "Agence 1",
"information": {
"fiscal_number": "12345678901234"
},
"addresses": [
{
"number": "1",
"address": "rue de l'agence",
"zip_code": "75008",
"city": "PARIS",
"country": "fr"
}
],
"users": [
{
"id": "97740901-3431-4290-a799-ba27d1161509",
"first_name": "User",
"last_name": "Name",
"phone": "+33102030405",
"mobile": null,
"email": "email@email.com",
"is_registered": true
}
// Other users...
],
"created_at": "2018-03-08T08:25:24.827000Z",
"updated_at": "2022-03-22T08:54:24.204000Z"
}
],
// The pagination keys...
}