WhatsApp System Users: Setup, Roles and Access

Create a system user, give it the right assets and permissions, split production from staging, and diagnose error 200 when asset access is missing.

A system user is the identity behind your production token. It is not a person, it does not log in, and it is the safest way to let a server call the Cloud API without tying the integration to an employee. Most trouble with system users is not creating them but granting the right assets, so this article focuses on the grants, the roles, and the errors you see when one is missing.

What a system user is and why it exists

A system user is a non-human identity inside a Meta business portfolio that owns tokens for automated services. Meta describes the system user access token as the long-lived option for services that need no user input, in contrast with user access tokens that expire within hours.

Using one removes a classic failure: the integration that stops the day the engineer who generated the token leaves the company or loses access. The token belongs to the system user, and the system user belongs to the portfolio. Details on token types are in the access token article of this series; here the focus is on setup.

Creating the system user and its token

Creation takes seven actions in Business Settings, and the order matters because the grants come before the token.

  • Open Business Settings and click System Users.
  • Click Add, enter a name and choose the Admin or Employee role.
  • Click the system user's name, then Assign assets.
  • Select your app, grant Manage app and confirm.
  • Reload the page and verify that the system user has Full control of the app.
  • Click Generate token, select the app, choose an expiration preference and assign business_management, whatsapp_business_management and whatsapp_business_messaging.
  • Copy the token when it appears and store it in a secret manager.

The reload in step five is not decoration. Meta includes it to confirm the grant before you generate a token, and skipping it is a common reason for a token that lacks the permission you thought it had. Meta's get-started guide also assigns the WhatsApp account to the system user with Full control, which leads to the grants below.

The grants that make or break the token

The system user needs business asset access to both the WhatsApp account and the Messaging account, with Partial or Full access; access to only one of them is insufficient. This is the single most useful fact in this article, because the symptom of a missing grant looks like a bad token.

The symptom is error code 200, which Meta explains is different from the HTTP 200 status. The HTTP response is an error, the body carries code 200, and the cause is that the system user lacks the access the endpoint needs. If you only look at the HTTP status line you will chase the wrong problem.

There is also a caveat about how grants propagate. Through the API, granting access on a Messaging account also applies the grant to its linked WhatsApp account, while the Meta Business Suite panel does not cascade. Meta calls the API behavior interim and advises against relying on it, so grant both accounts explicitly, whichever tool you use.

SymptomLikely causeCheck
Code 200 in the bodySystem user lacks asset accessAssign both the WhatsApp account and the Messaging account
Error 131005Permission not granted or removedOpen the access token debugger and read the permissions
Error 190Token expiredGenerate a new token with a longer expiration preference

Roles and least privilege

Prefer the Employee role with explicit grants over Admin, because Admin system users receive full access to all accounts by default. With Employee, the system user only reaches the accounts you explicitly assign, which limits the damage of a leaked token.

Partial access lets you restrict specific assets or actions. For production integrations that only send and receive messages, you rarely need billing or user management on the same identity. Meta lists granular tasks for partner-shared accounts, such as MANAGE_TEMPLATES, MANAGE_PHONE, VIEW_COST, VIEW_TEMPLATES and VIEW_INSIGHTS, with MANAGE_BILLING needed for sharing a line of credit. Use that vocabulary to describe what each of your system users is for.

A sensible split for a single business is one system user for the production integration, one for staging, and one read-only identity for reporting jobs. Name them by purpose, such as prod-messaging, so that the token list in your secret manager is self-explanatory.

Managing assignments through the API

For accounts shared with a partner, Meta documents API calls to list system users and assign them. GET /{API_VERSION}/{WABA_ID}/system_users returns the system user IDs, which Meta says you can cache, and POST /{API_VERSION}/{WABA_ID}/assigned_users adds a user with the fields user, tasks and access_token. A success response is {"success": true}, and a GET on assigned_users verifies the result.

The call that assigns a user must use the access token of a system user with admin permissions. Meta also notes that MANAGE only works when you hold full access on the solution, including MESSAGING, and that DEVELOP applies to accounts shared with standard permissions. Keep these calls in an onboarding script, not in an interactive session, so that a repeated run is harmless.

Example: splitting production and staging

A team starts with one admin system user and a single token shared by production and staging. During a load test, the staging job exhausts a rate limit and takes production down with it, because both used the same identity. They also notice that rotating the token would require redeploying both environments at once.

The fix is to create two Employee system users. Production gets Full control of the production app and access to the production accounts. Staging gets a separate app and only the test resources. Each has its own token and its own expiration preference, recorded in the runbook. A leak or a mistake in staging can no longer touch production traffic.

Webhooks follow the same split: Meta notes that some webhooks are not sent while an app is in Dev mode, so staging and production apps should not share a callback assumption. The webhooks documentation explains the receiving side, and the authentication guide covers credentials for the Hub's API.

Frequently asked questions

Is a system user the same as a person with an Admin role?

No. A system user is a non-human identity for automation, created in Business Settings. Its role can be Admin or Employee, which controls how much of the portfolio its tokens can reach.

Why do I get error code 200 with a valid token?

Meta explains that code 200 in the response body signals missing access, not a bad token. Assign the system user to both the WhatsApp account and the Messaging account.

Should I use Admin or Employee for a production system user?

Employee with explicit grants is the safer choice. Meta notes that Admin system users get full access to all accounts by default, while Employee users only reach what you grant.

Can I rely on a grant on the Messaging account also covering the WhatsApp account?

Meta says the API applies it as interim behavior and advises against relying on it, and Meta Business Suite does not cascade. Grant both accounts explicitly.

Fontes

Documentação oficial da Meta, conferida em 31 de outubro de 2026.