Login users using passwords. This implements a frontend integration for password authentication, where passwords are handled only by the client. If the password credentials are valid, the client can obtain an authorization code that your app can exchange in the backend for user tokens.
Passwords
The user's primary phone number. Pass only one of username, email, or phone_number, but not both.
Client ID of the application requesting authentication, retrieved from the Transmit Admin Portal
URI to redirect to upon completion of the IDP flow. This is the server GET endpoint used to call the token endpoint, and should accept "code" as a query parameter. This URI must also be configured as an allowed redirect URI in the Transmit Admin Portal.
Require multi-factor authentication for this authentication request.
Used to request additional claims in the ID token, such as roles, permissions, and other user profile data. The structure is per the OIDC Standard. For supported claims and how to request custom claims, see the ID Token Reference.
- Sandbox environmenthttps://api.sbx.transmitsecurity.io/cis/v1/auth/password/login
- Production environment (US)https://api.transmitsecurity.io/cis/v1/auth/password/login
- Production environment (EU)https://api.eu.transmitsecurity.io/cis/v1/auth/password/login
- Production environment (CA)https://api.ca.transmitsecurity.io/cis/v1/auth/password/login
- Production environment (AU)https://api.au.transmitsecurity.io/cis/v1/auth/password/login
- cURL
- Node.js
- Go
- JavaScript
- Java
- Python
curl -i -X POST \
https://api.sbx.transmitsecurity.io/cis/v1/auth/password/login \
-H 'Content-Type: application/json' \
-d '{
"username": "string",
"email": "string",
"phone_number": "string",
"password": "string",
"client_id": "c35ab2a.xVShlOVGsUMh3Cqk73K1O.transmit",
"redirect_uri": "https://domain.com/verify",
"resource": "string",
"require_mfa": true,
"claims": {
"id_token": {
"roles": null
}
},
"org_id": "string"
}'{ "result": { "url": "string" } }
Request
Starts a password reset flow by sending an email magic link. Once clicked, the User Agent will be redirected to the URI specified in this request. This URI will include a code required to reset the password.
Required permissions: apps:execute, [appId]:execute, auth:execute.
Reset token that contains mfa_required as true. Should be passed when initiating a second factor authentication, in case MFA is required for password reset flows.
Allows resetting the password without MFA in case MFA is required for password reset flows
URI where the email link will redirect to. This is the server GET endpoint used to call the password reset endpoint, and should accept "code" as a query parameter. This URI must also be configured as an allowed redirect URI in the Transmit Admin Portal.
- Sandbox environmenthttps://api.sbx.transmitsecurity.io/cis/v1/auth/password/reset/email/link
- Production environment (US)https://api.transmitsecurity.io/cis/v1/auth/password/reset/email/link
- Production environment (EU)https://api.eu.transmitsecurity.io/cis/v1/auth/password/reset/email/link
- Production environment (CA)https://api.ca.transmitsecurity.io/cis/v1/auth/password/reset/email/link
- Production environment (AU)https://api.au.transmitsecurity.io/cis/v1/auth/password/reset/email/link
- cURL
- Node.js
- Go
- JavaScript
- Java
- Python
curl -i -X POST \
https://api.sbx.transmitsecurity.io/cis/v1/auth/password/reset/email/link \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"prev_reset_token": "string",
"ignore_mfa": true,
"email": "string",
"username": "string",
"redirect_uri": "https://www.example.com/reset-password",
"email_content": {
"subject": "string",
"primaryColor": "#6981FF",
"base64logo": "string",
"headerText": "string",
"bodyText": "string",
"linkText": "string",
"infoText": "string",
"footerText": "If you didn'\''t request this email, you can safely ignore it.",
"senderName": "string"
}
}'{ "message": "Reset password email sent" }
Request
Starts a password reset flow by generating a magic link. Once clicked, the User Agent will be redirected to the URI specified in this request. This URI will include a code required to reset the password.
Required permissions: apps:execute, [appId]:execute, auth:execute.
Reset token that contains mfa_required as true. Should be passed when initiating a second factor authentication, in case MFA is required for password reset flows.
Allows resetting the password without MFA in case MFA is required for password reset flows
URI where the email link will redirect to. This is the server GET endpoint used to call the password reset endpoint, and should accept "code" as a query parameter. This URI must also be configured as an allowed redirect URI in the Transmit Admin Portal.
- Sandbox environmenthttps://api.sbx.transmitsecurity.io/cis/v1/auth/password/reset/link
- Production environment (US)https://api.transmitsecurity.io/cis/v1/auth/password/reset/link
- Production environment (EU)https://api.eu.transmitsecurity.io/cis/v1/auth/password/reset/link
- Production environment (CA)https://api.ca.transmitsecurity.io/cis/v1/auth/password/reset/link
- Production environment (AU)https://api.au.transmitsecurity.io/cis/v1/auth/password/reset/link
- cURL
- Node.js
- Go
- JavaScript
- Java
- Python
curl -i -X POST \
https://api.sbx.transmitsecurity.io/cis/v1/auth/password/reset/link \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"prev_reset_token": "string",
"ignore_mfa": true,
"email": "string",
"username": "string",
"redirect_uri": "https://www.example.com/reset-password"
}'{ "reset_link": "Reset password magic link" }
Reset token that contains mfa_required as true. Should be passed when initiating a second factor authentication, in case MFA is required for password reset flows.
Allows resetting the password without MFA in case MFA is required for password reset flows
- Sandbox environmenthttps://api.sbx.transmitsecurity.io/cis/v1/auth/password/reset/email/otp
- Production environment (US)https://api.transmitsecurity.io/cis/v1/auth/password/reset/email/otp
- Production environment (EU)https://api.eu.transmitsecurity.io/cis/v1/auth/password/reset/email/otp
- Production environment (CA)https://api.ca.transmitsecurity.io/cis/v1/auth/password/reset/email/otp
- Production environment (AU)https://api.au.transmitsecurity.io/cis/v1/auth/password/reset/email/otp
- cURL
- Node.js
- Go
- JavaScript
- Java
- Python
curl -i -X POST \
https://api.sbx.transmitsecurity.io/cis/v1/auth/password/reset/email/otp \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"prev_reset_token": "string",
"ignore_mfa": true,
"email": "string",
"email_content": {
"subject": "string",
"primaryColor": "#6981FF",
"base64logo": "string",
"headerText": "string",
"bodyText": "string",
"linkText": "string",
"infoText": "string",
"footerText": "If you didn'\''t request this email, you can safely ignore it.",
"senderName": "string"
}
}'{ "message": "Email Sent" }
- Sandbox environmenthttps://api.sbx.transmitsecurity.io/cis/v1/auth/password/reset/email/otp/validate
- Production environment (US)https://api.transmitsecurity.io/cis/v1/auth/password/reset/email/otp/validate
- Production environment (EU)https://api.eu.transmitsecurity.io/cis/v1/auth/password/reset/email/otp/validate
- Production environment (CA)https://api.ca.transmitsecurity.io/cis/v1/auth/password/reset/email/otp/validate
- Production environment (AU)https://api.au.transmitsecurity.io/cis/v1/auth/password/reset/email/otp/validate
- cURL
- Node.js
- Go
- JavaScript
- Java
- Python
curl -i -X POST \
https://api.sbx.transmitsecurity.io/cis/v1/auth/password/reset/email/otp/validate \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"email": "string",
"passcode": "string"
}'{ "result": "string" }
Reset token that contains mfa_required as true. Should be passed when initiating a second factor authentication, in case MFA is required for password reset flows.
Allows resetting the password without MFA in case MFA is required for password reset flows
- Sandbox environmenthttps://api.sbx.transmitsecurity.io/cis/v1/auth/password/reset/sms/otp
- Production environment (US)https://api.transmitsecurity.io/cis/v1/auth/password/reset/sms/otp
- Production environment (EU)https://api.eu.transmitsecurity.io/cis/v1/auth/password/reset/sms/otp
- Production environment (CA)https://api.ca.transmitsecurity.io/cis/v1/auth/password/reset/sms/otp
- Production environment (AU)https://api.au.transmitsecurity.io/cis/v1/auth/password/reset/sms/otp
- cURL
- Node.js
- Go
- JavaScript
- Java
- Python
curl -i -X POST \
https://api.sbx.transmitsecurity.io/cis/v1/auth/password/reset/sms/otp \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"prev_reset_token": "string",
"ignore_mfa": true,
"phone_number": "+16175551212"
}'{ "message": "SMS Sent" }
- Sandbox environmenthttps://api.sbx.transmitsecurity.io/cis/v1/auth/password/reset/sms/otp/validate
- Production environment (US)https://api.transmitsecurity.io/cis/v1/auth/password/reset/sms/otp/validate
- Production environment (EU)https://api.eu.transmitsecurity.io/cis/v1/auth/password/reset/sms/otp/validate
- Production environment (CA)https://api.ca.transmitsecurity.io/cis/v1/auth/password/reset/sms/otp/validate
- Production environment (AU)https://api.au.transmitsecurity.io/cis/v1/auth/password/reset/sms/otp/validate
- cURL
- Node.js
- Go
- JavaScript
- Java
- Python
curl -i -X POST \
https://api.sbx.transmitsecurity.io/cis/v1/auth/password/reset/sms/otp/validate \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"phone_number": "string",
"passcode": "string"
}'{ "result": "string" }
Reset token that contains mfa_required as true. Should be passed when initiating a second factor authentication, in case MFA is required for password reset flows.
The user's primary phone number. Pass only one of username, email, or phone_number, but not both.
- Sandbox environmenthttps://api.sbx.transmitsecurity.io/cis/v1/auth/password/reset/password/validate
- Production environment (US)https://api.transmitsecurity.io/cis/v1/auth/password/reset/password/validate
- Production environment (EU)https://api.eu.transmitsecurity.io/cis/v1/auth/password/reset/password/validate
- Production environment (CA)https://api.ca.transmitsecurity.io/cis/v1/auth/password/reset/password/validate
- Production environment (AU)https://api.au.transmitsecurity.io/cis/v1/auth/password/reset/password/validate
- cURL
- Node.js
- Go
- JavaScript
- Java
- Python
curl -i -X POST \
https://api.sbx.transmitsecurity.io/cis/v1/auth/password/reset/password/validate \
-H 'Content-Type: application/json' \
-d '{
"prev_reset_token": "string",
"username": "string",
"email": "string",
"phone_number": "string",
"password": "string",
"client_id": "string"
}'{ "result": "string" }
Valid reset_token generated from the password login call or by initiating a password reset flow
- Sandbox environmenthttps://api.sbx.transmitsecurity.io/cis/v1/auth/password/reset
- Production environment (US)https://api.transmitsecurity.io/cis/v1/auth/password/reset
- Production environment (EU)https://api.eu.transmitsecurity.io/cis/v1/auth/password/reset
- Production environment (CA)https://api.ca.transmitsecurity.io/cis/v1/auth/password/reset
- Production environment (AU)https://api.au.transmitsecurity.io/cis/v1/auth/password/reset
- cURL
- Node.js
- Go
- JavaScript
- Java
- Python
curl -i -X POST \
https://api.sbx.transmitsecurity.io/cis/v1/auth/password/reset \
-H 'Content-Type: application/json' \
-d '{
"reset_token": "string",
"new_password": "string",
"redirect_uri": "string",
"resource": "string",
"require_mfa": true
}'{ "message": "Password changed successfully", "url": "string", "email": "string" }
Request
Validates a new password according to the requesting application's password policy. The validation includes checking the password complexity (such as minimum length and character requirements) and password history (i.e., that the same password wasn't used too recently). This can be used before updating a user's password to first check that the password they chose is valid and if not, provide feedback to the user.
Required permissions: apps:execute, [appId]:execute, auth:execute.
Email of the user who provided the password. Used to identify the user to check password history.
Phone number of the user who provided the password. Used to identify the user to check password history.
Username of the user who provided the password. Used to identify the user to check password history.
- Sandbox environmenthttps://api.sbx.transmitsecurity.io/cis/v1/auth/password/validate
- Production environment (US)https://api.transmitsecurity.io/cis/v1/auth/password/validate
- Production environment (EU)https://api.eu.transmitsecurity.io/cis/v1/auth/password/validate
- Production environment (CA)https://api.ca.transmitsecurity.io/cis/v1/auth/password/validate
- Production environment (AU)https://api.au.transmitsecurity.io/cis/v1/auth/password/validate
- cURL
- Node.js
- Go
- JavaScript
- Java
- Python
curl -i -X POST \
https://api.sbx.transmitsecurity.io/cis/v1/auth/password/validate \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"email": "string",
"phone_number": "string",
"username": "string",
"password": "string"
}'{ "result": { "valid_password": true, "errors": [ … ] } }
- Sandbox environmenthttps://api.sbx.transmitsecurity.io/cis/v1/auth/logout
- Production environment (US)https://api.transmitsecurity.io/cis/v1/auth/logout
- Production environment (EU)https://api.eu.transmitsecurity.io/cis/v1/auth/logout
- Production environment (CA)https://api.ca.transmitsecurity.io/cis/v1/auth/logout
- Production environment (AU)https://api.au.transmitsecurity.io/cis/v1/auth/logout
- cURL
- Node.js
- Go
- JavaScript
- Java
- Python
curl -i -X POST \
https://api.sbx.transmitsecurity.io/cis/v1/auth/logout \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'{ "sessions_count": 0 }
Request
Retrieve ID and access tokens. This API is used to retrieve ID and access tokens using the code that was returned in the redirect URI as a query parameter (for example, when the user clicks a magic link). It may also create a new user if create_new_user was set to true in the send request and no user exists for the email address or phone number (depending on the flow).
Authorization code returned in the redirect URI as a query parameter upon successful authentication
Client ID of the application requesting the token
- Sandbox environmenthttps://api.sbx.transmitsecurity.io/cis/v1/token
- Production environment (US)https://api.transmitsecurity.io/cis/v1/token
- Production environment (EU)https://api.eu.transmitsecurity.io/cis/v1/token
- Production environment (CA)https://api.ca.transmitsecurity.io/cis/v1/token
- Production environment (AU)https://api.au.transmitsecurity.io/cis/v1/token
- cURL
- Node.js
- Go
- JavaScript
- Java
- Python
curl -i -X POST \
https://api.sbx.transmitsecurity.io/cis/v1/token \
-H 'Content-Type: application/json' \
-d '{
"code": "GZxLFKTDCnlANVTxNvaWz7AIGPpXqZYSXdAwjiWRuOH",
"client_id": "DgsdfhSDsdfhtSDFXCCXBVMKPws345yscv2345XCZV",
"client_secret": "FzxvdDMbvxnc45sdfb789XCVGEW6usazxcvbw3KPsb23"
}'{ "id_token": "string", "access_token": "string", "refresh_token": "string", "is_user_created": true }