Login Admin
POST {{URL}}/v1/users/login
The WhatsApp Business API client has a default account — the username of the account is admin
and the password is secret
. This account cannot be removed or deleted from the system. For security reasons, you are required to change the admin password on your first login.
Password Recommendations
We recommended you use strong passwords when creating new accounts and when setting new accounts' passwords, as per industry best practices.
Passwords need to be between 8 and 64 characters long and have at least:
- one digit
- one uppercase character
- one lowercase character
- one special character from among
!"#$%&\'()*+,-./:;<=>?@[]^_
{|}~`
Password complexity is enforced upon creating a new account or changing an existing account's password.
Request Body
{"new_password"=>"<New Admin Password>"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string |
RESPONSES
status: OK
{"users":[{"token":"eyJhbGciOHlXVCJ9.eyJ1c2VyIjoNTIzMDE2Nn0.mEoF0COaO00Z1cANo","expires_after":"2021-09-14 15:29:26+00:00"}],"meta":{"api_status":"stable","version":"v2.45.1"}}