Skip to content

Register password

Request

Allows a logged-in user to register their first password. Must be authorized using a valid user access token returned upon successful authentication.

Security
UserAccessToken
Bodyapplication/jsonrequired
passwordstringrequired

The user's new password

usernamestring

The user's new username. This will be the identifier the user will use to authenticate. If username is not provided and the user has verified their email, that email address will be used as the username.

device_idstring

The device associated with this registration.

curl -i -X POST \
  https://api.sbx.transmitsecurity.io/cis/v1/users/me/password-credentials \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "password": "string",
    "username": "string",
    "device_id": "string"
  }'

Responses

Bodyapplication/json
resultobjectrequired
Response
{ "result": { "message": "Password registered" } }