Organization ID
Retrieve data on your organizations, per organization ID.
Fetch User's Organizations ID
Retrieving the user's organization info is done through querying the user's information. One can query details inside the organization.
Note that you can fetch more than just the organization ID, all depending on what you're filling in the query.
Headers
Name | Value |
---|---|
Content-Type |
|
Authorization |
|
Body (UserWhereUniqueInput object)
Name | Type | Description |
---|---|---|
id* | string | ID of the logged in user. See Authorization. |
Response
Returned values:
Name | Type | Description |
---|---|---|
id | string | Organization ID |
name | string | Organization name |