Organizations and Offices

Explains the core domain concept of Organizations and Offices

Customers of First AML are called “organizations” within the API. An API client may potentially have access to the information of more than one organization. A organization may in turn have one or more offices configured within.

When a case is created, it must be associated with an organization and an office (if the organization is configured with 1 or more offices).

Information related to what organizations and offices a client has access to can be retrieved via the me field. Please note this data (including id values) will be different between environments.

An example query to access the accessible organizations and offices for your API client is:

query Metadata {
	me {
		friendlyApiClientName
		scopes
		accessibleOrganizations {
			organizationId
			name
			offices {
				key
				name
			}
		}
	}
}

Tokens
Cases