Яндекс.Метрика
Advanced administration via API

Advanced administration via API

How to automate user administration in Pachca with the API: creating users, managing them and tags

Open API docs

Methods for managing members, tags and chats

Pachca lets you fully automate member management, which makes things much easier for large teams. You won't need to manually add and remove users, invite them to chats, remove them from chats or update key profile details. Your tech team can automate all of it with the Pachca open API.

To manage users via the API, you need to:

  1. Create a service account that will perform the user management actions
  2. Give it the "Administrator" role in Members
  3. Get an Access Token for the account in Automations -> API

You can find all these methods in the open Pachca API docs

Or use the description of our public API in OpenAPI format

User management

You can set up automatic user management in Pachca and:

  • Add a new employee to Pachca when they're hired and send them an email invitation.
  • Remove an employee from Pachca when they leave the company.
  • Set an employee's access level. For example, if you're adding a partner who shouldn't have access to internal company information, you can give them guest access. If you want to give an employee extended admin permissions, you can give them Administrator access.
  • Update an employee's details when their position or manager changes.
  • Set a common naming standard. For example, users in your AD have names in Latin script, but you want all names in Pachca to be in Cyrillic.
  • Get information about an employee (name, email, access level and so on).

Chat and channel management

The API lets you manage your company's chats and channels. Here's what you can do:

  • Add new employees to their team's chats.

  • Remove an employee from chats and add them to new ones when they move to another team or department.

  • Get a list of all chats in the workspace to keep track of members and the main chat settings (description, public/private, added tags and integrations).

  • Get a chat's members, name and other settings.

  • Get a list of messages from chats, channels, threads and direct messages, plus reactions, by chat ID.

    Important! You can get a list of all public chats. For private chats, you can only get the ones the service account is a member of. ‍

  • Update the main chat settings. For example, if you name all important company chats with #info, you can add this label to chat names automatically.

    Important! You can only change the settings of chats where the service account is an admin.

Group tag management

Group tags in Pachca let you add a group of employees to a chat and mention them there. Members with the tag can't leave the chat on their own. Learn more here.

With automated tag management, you can:

  • Create the tags you need and assign them to employees. For example, you can give everyone on the DevOps team a DevOps tag.
  • Get the full list of tags with their names, IDs and the number of employees assigned to each tag.
  • Add tags to the channels and chats you need. This way, you can add the DevOps team to all the required DevOps chats. In these chats, the tag can be mentioned, and members with the tag can't leave the chat.
  • Remove tags from a chat.
Updated: April 17, 2025

More in Administration

Accounts in Pachca
How Pachca is structured: the difference between an account, a user and a member profile
Inviting your team
How to invite your team to Pachca, the team chat app: two ways to add employees
Change your email in Pachca
How to change your email address in Pachca: a guide for employees and administrators
Errors when adding people by email
Common errors when adding users to Pachca by email and how to fix them
Managing members in Pachca
Managing members in Pachca: how to add, edit and remove people from your team
Group tags
Add employees to all the chats they need at once with group tags
Ports and addresses Pachca needs
Ports and addresses Pachca needs to work properly: setting up your corporate firewall
Storage in Pachca
Everything about file storage in Pachca: limits, managing storage space and working with documents
Setting up DLP in Pachca
Add an extra layer of protection for personal data, tokens and passwords
Internal/external file access
How to set up internal and external zones in Pachca to protect your company documents
Two-factor authentication (2FA)
How to turn on two-factor authentication in Pachca for extra account security
Import chats from Slack
How to import your chat history from Slack into Pachca: a step-by-step migration guide
Import chats from Mattermost
Pachca lets you move your chat history and files from Mattermost into your workspace.
Import chats from Telegram
If your team is moving to Pachca from Telegram, you can bring your chat history over to your team chat app.
Exporting messages from Pachca
How to export messages from Pachca: data format, settings and export limitations
SSO options in Pachca
Single sign-on (SSO) in Pachca: SAML, LDAP and Keycloak connection options and step-by-step guides
SSO in Pachca with LDAP
SSO in Pachca with Multifactor.ru
SSO in Pachca with Blitz Identity Provider
SSO in Pachca with Authentik
SSO in Pachca with Keycloak
SSO in Pachca with Azure OpenID
SSO in Pachca with ADFS OpenID
This guide explains how to configure ADFS on Windows Server 2016 or later to connect it to Pachca.
SSO in Pachca with Google Workspace SAML
SSO in Pachca with Indeed IdP over SAML
SSO in Pachca with Yandex 360
SSO in Pachca with Yandex Identity Hub
BYOK: Bring Your Own Key in Pachca
How encryption with your own key (BYOK) works in the Pachca team chat app
Advanced encryption in Pachca
How to set up advanced encryption in Pachca for extra protection of your company data
Set up BYOK with HashiCorp Vault
Set up BYOK with Yandex KMS
Set up BYOK with Cloud.ru KMS