Skip to main content
Server path: /maintainx-organization | Type: Application | PCID required: Yes

Tools

ToolDescription
maintainx_organization_create_categoriesCreate new category
maintainx_organization_create_customfieldsCreate custom field
maintainx_organization_create_subscriptionsCreate new subscription
maintainx_organization_create_teamsCreate new team
maintainx_organization_create_teams_membersAdd user to team
maintainx_organization_create_usersCreate new user
maintainx_organization_delete_categoriesDelete category
maintainx_organization_delete_customfieldsDelete custom field
maintainx_organization_delete_subscriptionsRemove subscription
maintainx_organization_delete_teamsDelete team
maintainx_organization_delete_teams_membersRemove user from team
maintainx_organization_delete_usersRemove user from organization
maintainx_organization_get_categoriesGet category
maintainx_organization_get_conversations_membersList conversation members
maintainx_organization_get_customfieldsList custom fields
maintainx_organization_get_subscriptionsGet subscription
maintainx_organization_get_subscriptions_secretGet secret information
maintainx_organization_get_teamsGet team
maintainx_organization_get_teams_membersList team members
maintainx_organization_get_usersGet user
maintainx_organization_list_categoriesList categories
maintainx_organization_list_conversationsList conversations
maintainx_organization_list_conversations_membersList conversation members
maintainx_organization_list_customfieldsList custom fields
maintainx_organization_list_organizationsList organizations
maintainx_organization_list_teamsList teams
maintainx_organization_list_teams_membersList team members
maintainx_organization_list_usersList users
maintainx_organization_send_conversations_messagesCreate new message in a conversation
maintainx_organization_send_users_messagesCreate new direct message to a user
maintainx_organization_update_categoriesUpdate category
maintainx_organization_update_customfieldsEdit custom field
maintainx_organization_update_subscriptionsUpdate subscription
maintainx_organization_update_teamsUpdate team
maintainx_organization_update_teams_membersUpdate team member
maintainx_organization_update_usersUpdate user

maintainx_organization_create_categories

Create new category Parameters:
ParameterTypeRequiredDefaultDescription
skipWebhookbooleanNoSet skipWebhook=true, skipWebhook=1 or skipWebhook=yes to skip all webhooks upon successful operation on the endpoint. Learn more about webhooks
x-organization-idintegerNoRequired if using a multi organizations token
descriptionstringNoDescription field for additional information.
labelstringYesLabel used when displaying the category.

maintainx_organization_create_customfields

Create custom field Parameters:
ParameterTypeRequiredDefaultDescription
entitystringYesType of entity
skipWebhookbooleanNoSet skipWebhook=true, skipWebhook=1 or skipWebhook=yes to skip all webhooks upon successful operation on the endpoint. Learn more about webhooks
x-organization-idintegerNoRequired if using a multi organizations token
fieldsobject[]YesThe fields value

maintainx_organization_create_subscriptions

Create new subscription Parameters:
ParameterTypeRequiredDefaultDescription
skipWebhookbooleanNoSet skipWebhook=true, skipWebhook=1 or skipWebhook=yes to skip all webhooks upon successful operation on the endpoint. Learn more about webhooks
x-organization-idintegerNoRequired if using a multi organizations token
bodyobjectYesSubscription to create

maintainx_organization_create_teams

Create new team Parameters:
ParameterTypeRequiredDefaultDescription
skipWebhookbooleanNoSet skipWebhook=true, skipWebhook=1 or skipWebhook=yes to skip all webhooks upon successful operation on the endpoint. Learn more about webhooks
x-organization-idintegerNoRequired if using a multi organizations token
assetIdsinteger[]NoList of asset IDs that the team is responsible for
descriptionstringNoThe description value
locationIdsinteger[]NoList of location where the team is operating
memberIdsinteger[]NoList of user IDs that are part of the team
namestringYesThe name value

maintainx_organization_create_teams_members

Add user to team Parameters:
ParameterTypeRequiredDefaultDescription
idintegerYesID of the team
skipWebhookbooleanNoSet skipWebhook=true, skipWebhook=1 or skipWebhook=yes to skip all webhooks upon successful operation on the endpoint. Learn more about webhooks
teamRolestringNoTeam Role

maintainx_organization_create_users

Create new user Parameters:
ParameterTypeRequiredDefaultDescription
skipWebhookbooleanNoSet skipWebhook=true, skipWebhook=1 or skipWebhook=yes to skip all webhooks upon successful operation on the endpoint. Learn more about webhooks
x-organization-idintegerNoRequired if using a multi organizations token
customRolestringNoCustom role name if the user has a custom role assigned
emailstringNoThe email value
externalDataobjectNoExtra data that can be attached to the user, for example to help reference to a matching record in an external system.
extraFieldsobjectNoCustom Fields on the entity. The object keys are the exact Custom Field labels, including spaces or special characters. (ie: “Department”)
firstNamestringYesFirst Name
hourlyRateintegerNoCost 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
inviteTypestringNoInvite Type
lastNamestringYesLast Name
phoneNumberstringNoPhone Number
rolestringNoThe role value

maintainx_organization_delete_categories

Delete category Parameters:
ParameterTypeRequiredDefaultDescription
idintegerYesID of the category
skipWebhookbooleanNoSet 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:
ParameterTypeRequiredDefaultDescription
idintegerYesID of the custom field
entitystringYesType of entity
skipWebhookbooleanNoSet 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:
ParameterTypeRequiredDefaultDescription
idintegerYesID of the subscription
skipWebhookbooleanNoSet skipWebhook=true, skipWebhook=1 or skipWebhook=yes to skip all webhooks upon successful operation on the endpoint. Learn more about webhooks
x-organization-idintegerNoRequired if using a multi organizations token

maintainx_organization_delete_teams

Delete team Parameters:
ParameterTypeRequiredDefaultDescription
idintegerYesID of the team
skipWebhookbooleanNoSet 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:
ParameterTypeRequiredDefaultDescription
teamIdintegerYesID of the team
userIdintegerYesUser ID of the member
skipWebhookbooleanNoSet 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:
ParameterTypeRequiredDefaultDescription
idintegerYesID of the user
skipWebhookbooleanNoSet skipWebhook=true, skipWebhook=1 or skipWebhook=yes to skip all webhooks upon successful operation on the endpoint. Learn more about webhooks
x-organization-idintegerNoRequired if using a multi organizations token

maintainx_organization_get_categories

Get category Parameters:
ParameterTypeRequiredDefaultDescription
idintegerYesID of the category

maintainx_organization_get_conversations_members

List conversation members Parameters:
ParameterTypeRequiredDefaultDescription
idintegerYesGlobal ID of the conversation
cursorstringNoLast pagination reference
limitintegerNomax number of Members returned

maintainx_organization_get_customfields

List custom fields Parameters:
ParameterTypeRequiredDefaultDescription
entitystringYesType of entity
x-organization-idintegerNoRequired if using a multi organizations token

maintainx_organization_get_subscriptions

Get subscription Parameters:
ParameterTypeRequiredDefaultDescription
idintegerYesID of the subscription

maintainx_organization_get_subscriptions_secret

Get secret information Parameters:
ParameterTypeRequiredDefaultDescription
idintegerYesID of the subscription

maintainx_organization_get_teams

Get team Parameters:
ParameterTypeRequiredDefaultDescription
idintegerYesID of the team

maintainx_organization_get_teams_members

List team members Parameters:
ParameterTypeRequiredDefaultDescription
cursorstringNoLast pagination reference
limitintegerNomax number of Members returned
idintegerYesID of the team

maintainx_organization_get_users

Get user Parameters:
ParameterTypeRequiredDefaultDescription
idintegerYesID of the user
x-organization-idintegerNoRequired if using a multi organizations token

maintainx_organization_list_categories

List categories Parameters:
ParameterTypeRequiredDefaultDescription
cursorstringNoLast pagination reference
limitintegerNomax number of Categories returned
x-organization-idintegerNoRequired if using a multi organizations token

maintainx_organization_list_conversations

List conversations Parameters:
ParameterTypeRequiredDefaultDescription
cursorstringNoLast pagination reference
limitintegerNomax number of Conversations returned
typestring[]NoThe type value
onlyNamedbooleanNoWill only show named group conversations and team conversation
x-organization-idintegerNoRequired if using a multi organizations token

maintainx_organization_list_conversations_members

List conversation members Parameters:
ParameterTypeRequiredDefaultDescription
idintegerYesID of the conversation
cursorstringNoLast pagination reference
limitintegerNomax number of Members returned

maintainx_organization_list_customfields

List custom fields Parameters:
ParameterTypeRequiredDefaultDescription
entitystringYesType of entity

maintainx_organization_list_organizations

List organizations Parameters:
ParameterTypeRequiredDefaultDescription
cursorstringNoLast pagination reference
limitintegerNomax number of Organizations returned

maintainx_organization_list_teams

List teams Parameters:
ParameterTypeRequiredDefaultDescription
cursorstringNoLast pagination reference
limitintegerNomax number of Teams returned
x-organization-idintegerNoRequired if using a multi organizations token

maintainx_organization_list_teams_members

List team members Parameters:
ParameterTypeRequiredDefaultDescription
cursorstringNoLast pagination reference
limitintegerNomax number of Members returned
idintegerYesID of the team

maintainx_organization_list_users

List users Parameters:
ParameterTypeRequiredDefaultDescription
cursorstringNoLast pagination reference
limitintegerNomax number of Users returned
onlyAssignablebooleanNoWill only show users that can be assigned to a work order
emailstring[]NoFilter 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
expandstring[]NoTo expand multiple fields: expand=role&expand=extra_fields
x-organization-idintegerNoRequired if using a multi organizations token

maintainx_organization_send_conversations_messages

Create new message in a conversation Parameters:
ParameterTypeRequiredDefaultDescription
idintegerYesID of the conversation
skipWebhookbooleanNoSet skipWebhook=true, skipWebhook=1 or skipWebhook=yes to skip all webhooks upon successful operation on the endpoint. Learn more about webhooks
contentstringYesContent of the message to post

maintainx_organization_send_users_messages

Create new direct message to a user Parameters:
ParameterTypeRequiredDefaultDescription
idintegerYesID of the user
skipWebhookbooleanNoSet skipWebhook=true, skipWebhook=1 or skipWebhook=yes to skip all webhooks upon successful operation on the endpoint. Learn more about webhooks
x-organization-idintegerNoRequired if using a multi organizations token
contentstringYesContent of the message to post

maintainx_organization_update_categories

Update category Parameters:
ParameterTypeRequiredDefaultDescription
idintegerYesID of the category
skipWebhookbooleanNoSet skipWebhook=true, skipWebhook=1 or skipWebhook=yes to skip all webhooks upon successful operation on the endpoint. Learn more about webhooks
descriptionstringNoDescription field for additional information.
labelstringNoLabel used when displaying the category.

maintainx_organization_update_customfields

Edit custom field Parameters:
ParameterTypeRequiredDefaultDescription
idintegerYesID of the custom field
entitystringYesType of entity
skipWebhookbooleanNoSet skipWebhook=true, skipWebhook=1 or skipWebhook=yes to skip all webhooks upon successful operation on the endpoint. Learn more about webhooks
fieldobjectNoThe field value

maintainx_organization_update_subscriptions

Update subscription Parameters:
ParameterTypeRequiredDefaultDescription
idintegerYesID of the subscription
skipWebhookbooleanNoSet skipWebhook=true, skipWebhook=1 or skipWebhook=yes to skip all webhooks upon successful operation on the endpoint. Learn more about webhooks
x-organization-idintegerNoRequired if using a multi organizations token
typestringNoType of event subscribed to
urlstringNoThe url value

maintainx_organization_update_teams

Update team Parameters:
ParameterTypeRequiredDefaultDescription
idintegerYesID of the team
skipWebhookbooleanNoSet skipWebhook=true, skipWebhook=1 or skipWebhook=yes to skip all webhooks upon successful operation on the endpoint. Learn more about webhooks
assetIdsinteger[]NoList of asset IDs that the team is responsible for
descriptionstringNoThe description value
locationIdsinteger[]NoList of location where the team is operating
membersCountintegerNoNumber of team members
namestringNoThe name value

maintainx_organization_update_teams_members

Update team member Parameters:
ParameterTypeRequiredDefaultDescription
teamIdintegerYesID of the team
userIdintegerYesUser ID of the member
skipWebhookbooleanNoSet skipWebhook=true, skipWebhook=1 or skipWebhook=yes to skip all webhooks upon successful operation on the endpoint. Learn more about webhooks
teamRolestringNoTeam Role

maintainx_organization_update_users

Update user Parameters:
ParameterTypeRequiredDefaultDescription
idintegerYesID of the user
skipWebhookbooleanNoSet skipWebhook=true, skipWebhook=1 or skipWebhook=yes to skip all webhooks upon successful operation on the endpoint. Learn more about webhooks
x-organization-idintegerNoRequired if using a multi organizations token
authTypestringNoAuth Type
customRolestringNoCustom role name if the user has a custom role assigned
emailstringNoThe email value
externalDataobjectNoExtra data that can be attached to the user, for example to help reference to a matching record in an external system.
extraFieldsobjectNoCustom Fields on the entity. The object keys are the exact Custom Field labels, including spaces or special characters. (ie: “Department”)
firstNamestringNoFirst Name
hourlyRateintegerNoCost 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
lastNamestringNoLast Name
phoneNumberstringNoPhone Number
rolestringNoThe role value