Users

/v1/users

Use the users node for managing authentication and accessing the WhatsApp Business API Client.

Developers and/or system administrators can perform the following actions:

/v1/users Endpoints

NameActionReturns

POST /v1/users/login

Log in to get your authentication token

A users object containing the authentication token and the expiration date of the token

POST /v1/users

Send a username and password to create a user account

A users object containing the username sent in the request

GET /v1/users/username

Retrieve a user account

A users object containing the username sent in the request and that user's role

PUT /v1/users/username

Send a new password to update a user's password

A users object containing the username sent in the request

DELETE /v1/users/username

Delete a user account with the username sent in the request

A users object containing the username sent in the request

POST /v1/users/logout

Log out of a user account and delete the token associated with that account

No users (payload) object in response