JavaScript

Create a User

Users are a key concept when working with the Vonage Client SDKs. When a user authenticates with the Client SDK, the credentials provided identify them as a specific user. Each authenticated user will typically correspond to a single user in your users database.

To create a user named Alice, run the following command using the Nexmo CLI:

nexmo user:create name="Alice"

This will return a user ID similar to the following:

User created: USR-aaaaaaaa-bbbb-cccc-dddd-0123456789ab