Organizations
Get the organization of the authenticated user.
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Responses
200
Successful Response
application/json
objectconst: organizationOptionalDefault:
Type of the object.
organizationidintegerRequired
ID of the organization.
namestringRequired
Name of the organization.
usersintegerRequired
Number of users in the organization.
createdintegerRequired
Time of creation, as Unix timestamp.
updatedintegerRequired
Time of last update, as Unix timestamp.
Other propertiesanyOptional
401
Invalid authentication scheme.
Invalid API key.
application/json
403
Your account has expired. Please contact support to renew your account.
application/json
404
Organization {organization_id}|{name} not found.
application/json
get/v1/organizations/me
GET /v1/organizations/me HTTP/1.1
Host: albert.api.etalab.gouv.fr
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"object": "organization",
"id": 1,
"name": "text",
"users": 1,
"created": 1,
"updated": 1,
"ANY_ADDITIONAL_PROPERTY": "anything"
}Last updated
Was this helpful?