/maintainx-organization | Type: Application | PCID required: Yes
Tools
maintainx_organization_create_categories
Create new category Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
skipWebhook | boolean | No | — | Set skipWebhook=true, skipWebhook=1 or skipWebhook=yes to skip all webhooks upon successful operation on the endpoint. Learn more about webhooks |
x-organization-id | integer | No | — | Required if using a multi organizations token |
description | string | No | — | Description field for additional information. |
label | string | Yes | — | Label used when displaying the category. |
maintainx_organization_create_customfields
Create custom field Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
entity | string | Yes | — | Type of entity |
skipWebhook | boolean | No | — | Set skipWebhook=true, skipWebhook=1 or skipWebhook=yes to skip all webhooks upon successful operation on the endpoint. Learn more about webhooks |
x-organization-id | integer | No | — | Required if using a multi organizations token |
fields | object[] | Yes | — | The fields value |
maintainx_organization_create_subscriptions
Create new subscription Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
skipWebhook | boolean | No | — | Set skipWebhook=true, skipWebhook=1 or skipWebhook=yes to skip all webhooks upon successful operation on the endpoint. Learn more about webhooks |
x-organization-id | integer | No | — | Required if using a multi organizations token |
body | object | Yes | — | Subscription to create |
maintainx_organization_create_teams
Create new team Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
skipWebhook | boolean | No | — | Set skipWebhook=true, skipWebhook=1 or skipWebhook=yes to skip all webhooks upon successful operation on the endpoint. Learn more about webhooks |
x-organization-id | integer | No | — | Required if using a multi organizations token |
assetIds | integer[] | No | — | List of asset IDs that the team is responsible for |
description | string | No | — | The description value |
locationIds | integer[] | No | — | List of location where the team is operating |
memberIds | integer[] | No | — | List of user IDs that are part of the team |
name | string | Yes | — | The name value |
maintainx_organization_create_teams_members
Add user to team Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
id | integer | Yes | — | ID of the team |
skipWebhook | boolean | No | — | Set skipWebhook=true, skipWebhook=1 or skipWebhook=yes to skip all webhooks upon successful operation on the endpoint. Learn more about webhooks |
teamRole | string | No | — | Team Role |
maintainx_organization_create_users
Create new user Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
skipWebhook | boolean | No | — | Set skipWebhook=true, skipWebhook=1 or skipWebhook=yes to skip all webhooks upon successful operation on the endpoint. Learn more about webhooks |
x-organization-id | integer | No | — | Required if using a multi organizations token |
customRole | string | No | — | Custom role name if the user has a custom role assigned |
email | string | No | — | The email value |
externalData | object | No | — | Extra data that can be attached to the user, for example to help reference to a matching record in an external system. |
extraFields | object | No | — | Custom Fields on the entity. The object keys are the exact Custom Field labels, including spaces or special characters. (ie: “Department”) |
firstName | string | Yes | — | First Name |
hourlyRate | integer | No | — | Cost in cents. For example, for $1.20, put 120. Set to null to set the user’s rate to organization default hourly rate if defined, otherwise it would set the rate to the user’s hourly rate defined in any work order. If none is defined, setting null will set the user’s hourly rate to null |
inviteType | string | No | — | Invite Type |
lastName | string | Yes | — | Last Name |
phoneNumber | string | No | — | Phone Number |
role | string | No | — | The role value |
maintainx_organization_delete_categories
Delete category Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
id | integer | Yes | — | ID of the category |
skipWebhook | boolean | No | — | Set skipWebhook=true, skipWebhook=1 or skipWebhook=yes to skip all webhooks upon successful operation on the endpoint. Learn more about webhooks |
maintainx_organization_delete_customfields
Delete custom field Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
id | integer | Yes | — | ID of the custom field |
entity | string | Yes | — | Type of entity |
skipWebhook | boolean | No | — | Set skipWebhook=true, skipWebhook=1 or skipWebhook=yes to skip all webhooks upon successful operation on the endpoint. Learn more about webhooks |
maintainx_organization_delete_subscriptions
Remove subscription Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
id | integer | Yes | — | ID of the subscription |
skipWebhook | boolean | No | — | Set skipWebhook=true, skipWebhook=1 or skipWebhook=yes to skip all webhooks upon successful operation on the endpoint. Learn more about webhooks |
x-organization-id | integer | No | — | Required if using a multi organizations token |
maintainx_organization_delete_teams
Delete team Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
id | integer | Yes | — | ID of the team |
skipWebhook | boolean | No | — | Set skipWebhook=true, skipWebhook=1 or skipWebhook=yes to skip all webhooks upon successful operation on the endpoint. Learn more about webhooks |
maintainx_organization_delete_teams_members
Remove user from team Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
teamId | integer | Yes | — | ID of the team |
userId | integer | Yes | — | User ID of the member |
skipWebhook | boolean | No | — | Set skipWebhook=true, skipWebhook=1 or skipWebhook=yes to skip all webhooks upon successful operation on the endpoint. Learn more about webhooks |
maintainx_organization_delete_users
Remove user from organization Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
id | integer | Yes | — | ID of the user |
skipWebhook | boolean | No | — | Set skipWebhook=true, skipWebhook=1 or skipWebhook=yes to skip all webhooks upon successful operation on the endpoint. Learn more about webhooks |
x-organization-id | integer | No | — | Required if using a multi organizations token |
maintainx_organization_get_categories
Get category Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
id | integer | Yes | — | ID of the category |
maintainx_organization_get_conversations_members
List conversation members Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
id | integer | Yes | — | Global ID of the conversation |
cursor | string | No | — | Last pagination reference |
limit | integer | No | — | max number of Members returned |
maintainx_organization_get_customfields
List custom fields Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
entity | string | Yes | — | Type of entity |
x-organization-id | integer | No | — | Required if using a multi organizations token |
maintainx_organization_get_subscriptions
Get subscription Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
id | integer | Yes | — | ID of the subscription |
maintainx_organization_get_subscriptions_secret
Get secret information Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
id | integer | Yes | — | ID of the subscription |
maintainx_organization_get_teams
Get team Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
id | integer | Yes | — | ID of the team |
maintainx_organization_get_teams_members
List team members Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
cursor | string | No | — | Last pagination reference |
limit | integer | No | — | max number of Members returned |
id | integer | Yes | — | ID of the team |
maintainx_organization_get_users
Get user Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
id | integer | Yes | — | ID of the user |
x-organization-id | integer | No | — | Required if using a multi organizations token |
maintainx_organization_list_categories
List categories Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
cursor | string | No | — | Last pagination reference |
limit | integer | No | — | max number of Categories returned |
x-organization-id | integer | No | — | Required if using a multi organizations token |
maintainx_organization_list_conversations
List conversations Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
cursor | string | No | — | Last pagination reference |
limit | integer | No | — | max number of Conversations returned |
type | string[] | No | — | The type value |
onlyNamed | boolean | No | — | Will only show named group conversations and team conversation |
x-organization-id | integer | No | — | Required if using a multi organizations token |
maintainx_organization_list_conversations_members
List conversation members Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
id | integer | Yes | — | ID of the conversation |
cursor | string | No | — | Last pagination reference |
limit | integer | No | — | max number of Members returned |
maintainx_organization_list_customfields
List custom fields Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
entity | string | Yes | — | Type of entity |
maintainx_organization_list_organizations
List organizations Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
cursor | string | No | — | Last pagination reference |
limit | integer | No | — | max number of Organizations returned |
maintainx_organization_list_teams
List teams Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
cursor | string | No | — | Last pagination reference |
limit | integer | No | — | max number of Teams returned |
x-organization-id | integer | No | — | Required if using a multi organizations token |
maintainx_organization_list_teams_members
List team members Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
cursor | string | No | — | Last pagination reference |
limit | integer | No | — | max number of Members returned |
id | integer | Yes | — | ID of the team |
maintainx_organization_list_users
List users Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
cursor | string | No | — | Last pagination reference |
limit | integer | No | — | max number of Users returned |
onlyAssignable | boolean | No | — | Will only show users that can be assigned to a work order |
email | string[] | No | — | Filter users by email. You can filter for multiple users by specifying multiple emails like so: /users?email=user1@example.com&email=user2@example.com. Note that if you are using special characters in a url, you will need to URI encode them in order for us to interprete them correctly. For example, + should be encoded as %2B and though we accept @, they should still be encoded as %40. So filtering for email user1+test@example.com, you would use /users?email=user1%2Btest%example.com in your URI |
expand | string[] | No | — | To expand multiple fields: expand=role&expand=extra_fields |
x-organization-id | integer | No | — | Required if using a multi organizations token |
maintainx_organization_send_conversations_messages
Create new message in a conversation Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
id | integer | Yes | — | ID of the conversation |
skipWebhook | boolean | No | — | Set skipWebhook=true, skipWebhook=1 or skipWebhook=yes to skip all webhooks upon successful operation on the endpoint. Learn more about webhooks |
content | string | Yes | — | Content of the message to post |
maintainx_organization_send_users_messages
Create new direct message to a user Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
id | integer | Yes | — | ID of the user |
skipWebhook | boolean | No | — | Set skipWebhook=true, skipWebhook=1 or skipWebhook=yes to skip all webhooks upon successful operation on the endpoint. Learn more about webhooks |
x-organization-id | integer | No | — | Required if using a multi organizations token |
content | string | Yes | — | Content of the message to post |
maintainx_organization_update_categories
Update category Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
id | integer | Yes | — | ID of the category |
skipWebhook | boolean | No | — | Set skipWebhook=true, skipWebhook=1 or skipWebhook=yes to skip all webhooks upon successful operation on the endpoint. Learn more about webhooks |
description | string | No | — | Description field for additional information. |
label | string | No | — | Label used when displaying the category. |
maintainx_organization_update_customfields
Edit custom field Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
id | integer | Yes | — | ID of the custom field |
entity | string | Yes | — | Type of entity |
skipWebhook | boolean | No | — | Set skipWebhook=true, skipWebhook=1 or skipWebhook=yes to skip all webhooks upon successful operation on the endpoint. Learn more about webhooks |
field | object | No | — | The field value |
maintainx_organization_update_subscriptions
Update subscription Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
id | integer | Yes | — | ID of the subscription |
skipWebhook | boolean | No | — | Set skipWebhook=true, skipWebhook=1 or skipWebhook=yes to skip all webhooks upon successful operation on the endpoint. Learn more about webhooks |
x-organization-id | integer | No | — | Required if using a multi organizations token |
type | string | No | — | Type of event subscribed to |
url | string | No | — | The url value |
maintainx_organization_update_teams
Update team Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
id | integer | Yes | — | ID of the team |
skipWebhook | boolean | No | — | Set skipWebhook=true, skipWebhook=1 or skipWebhook=yes to skip all webhooks upon successful operation on the endpoint. Learn more about webhooks |
assetIds | integer[] | No | — | List of asset IDs that the team is responsible for |
description | string | No | — | The description value |
locationIds | integer[] | No | — | List of location where the team is operating |
membersCount | integer | No | — | Number of team members |
name | string | No | — | The name value |
maintainx_organization_update_teams_members
Update team member Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
teamId | integer | Yes | — | ID of the team |
userId | integer | Yes | — | User ID of the member |
skipWebhook | boolean | No | — | Set skipWebhook=true, skipWebhook=1 or skipWebhook=yes to skip all webhooks upon successful operation on the endpoint. Learn more about webhooks |
teamRole | string | No | — | Team Role |
maintainx_organization_update_users
Update user Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
id | integer | Yes | — | ID of the user |
skipWebhook | boolean | No | — | Set skipWebhook=true, skipWebhook=1 or skipWebhook=yes to skip all webhooks upon successful operation on the endpoint. Learn more about webhooks |
x-organization-id | integer | No | — | Required if using a multi organizations token |
authType | string | No | — | Auth Type |
customRole | string | No | — | Custom role name if the user has a custom role assigned |
email | string | No | — | The email value |
externalData | object | No | — | Extra data that can be attached to the user, for example to help reference to a matching record in an external system. |
extraFields | object | No | — | Custom Fields on the entity. The object keys are the exact Custom Field labels, including spaces or special characters. (ie: “Department”) |
firstName | string | No | — | First Name |
hourlyRate | integer | No | — | Cost in cents. For example, for $1.20, put 120. Set to null to set the user’s rate to organization default hourly rate if defined, otherwise it would set the rate to the user’s hourly rate defined in any work order. If none is defined, setting null will set the user’s hourly rate to null |
lastName | string | No | — | Last Name |
phoneNumber | string | No | — | Phone Number |
role | string | No | — | The role value |

