API reference
organization
Required permission: OrganizationRead
organization(
id: ID!
): OrganizationArguments
| Name | Type | Description |
|---|---|---|
id |
ID! |
Returns
Example
query Organization($id: ID!) {
organization(id: $id) {
id
fortnoxAccountingImportEnabled
hasFortnoxAccountingImportAccess
hasFortnoxAccountingImportCredentials
accountantEmail
createdAt
}
}curl https://api.thelocoapp.com/graphql \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $LOCO_API_KEY" \
-d '{"query": "query { organization(...) { __typename } }"}'