Temporary access token
Generated directly in the Meta developer dashboard under WhatsApp → API Setup → “Generate access token”. It works immediately but expires in about 1 hour. Use only for testing — never in production.Permanent system-user token
Generated via Meta Business Manager (business.facebook.com):
Open Business Settings
business.facebook.com, open your business portfolio, and click into its Settings.Open System Users
Create a system user
Assign assets to the system user
Generate the token
whatsapp_business_messaging, whatsapp_business_management,
whatsapp_business_manage_events).Save it immediately
Verify it
developers.facebook.com/tools/debug/accesstoken/) to verify it is valid and check its
expiry — a permanent token shows “Never” as expiry.Walkthrough screenshots

The API Setup screen showing the Generate access token button.









The Meta Access Token Debugger for verifying a token's validity and expiry.
Frequently asked
Why did my WhatsApp API stop working overnight?
Why did my WhatsApp API stop working overnight?
How do I get a token that never expires?
How do I get a token that never expires?
What is a system user?
What is a system user?
How do I check if my token is valid?
How do I check if my token is valid?
developers.facebook.com/tools/debug/accesstoken/ and click Debug. It shows the token’s
expiry, permissions, and whether it is still valid.
