Get the freee connection.
Whether the organisation is connected to freee, for which product and company and with which scopes, whether you may send employee data, the operator's switch for it, and the freee company approved to receive employee data (approving it is a Portal action). Always answers: is_connected false when there is no connection. Needs View Freee Connection.
| |
|---|
| Scope | connectors:read (sensitive) |
| Asynchronous | No |
| MCP tool | get_freee_connection |
| Portal permissions | view_freee_connection |
Parameters
| Name | In | Type | Required | Description |
|---|
Docwize-Version | header | string (date) | Optional | |
If-None-Match | header | string | Optional | Answers 304 when the representation is unchanged (resources that publish an ETag). |
Responses
Errors
The problem codes this operation can answer with. Each code links to its page.
Schemas
FreeeConnection
| Field | Type | Required | Description |
|---|
can_send_employees | boolean | Required | You hold Submit Freee Employee Transfers, which sending employee data needs. |
destination | FreeeDestination or null | Required | The freee company approved to receive employee data. Approving and revoking are done in the Portal; null when none is approved. |
freee_company_id | string or null | Required | |
freee_company_name | string or null | Required | |
freee_company_role | string or null | Required | The connecting user's role in the freee company. |
has_write_scope | boolean | Required | The connection may write employees (hr:employees:write). |
is_connected | boolean | Required | |
is_employee_creation_enabled | boolean | Required | The operator's switch for creating employees in freee for this organisation; on unless an operator switched it off. |
product | string or null | Required | accounting or hr: what the connection was authorised for; null when not connected. |
scope | string or null | Required | The scopes freee granted, space separated. |
FreeeDestination
| Field | Type | Required | Description |
|---|
approved_at | string (date-time) | Required | |
approved_by | UserRef | Required | |
consent_version | integer or null | Required | The version of the opt-in wording the approver agreed to; null when approved before versioning. |
freee_company_id | string | Required | |
freee_company_name | string | Required | |
UserRef
| Field | Type | Required | Description |
|---|
display_name | string | Required | |
kind | string: user, system, integration or string | Required | |
user_id | string or null | Required | |