Read licenses
Read all licenses for a profile. Receive in return the identifiers for an organization and the connected person within that company. This information can be used as a login hint to get an access token for operational work on behalf of the connected person.
Query parameters
-
organizationId integer(int64)
Identifier for the organization.
-
personId integer(int32)
Identifier for the connected person.
GET /me/licenses
curl \
-X GET https://rest.api.24sevenoffice.com/v1/me/licenses \
-H "Authorization: string"
Response examples (200)
[
{
"id": "123e4567-e89b-12d3-a456-426614174003",
"name": "ABC Corporation",
"personId": 67890,
"identityId": "123e4567-e89b-12d3-a456-426614174001",
"organizationId": 12345
},
{
"id": "123e4567-e89b-12d3-a456-426614174004",
"name": "XYZ Inc.",
"personId": 54321,
"identityId": "123e4567-e89b-12d3-a456-426614174002",
"organizationId": 78901
}
]