---
title: "User authentication"
slug: "user-authentication"
updated: 2026-04-04T02:22:39Z
published: 2026-04-04T02:22:47Z
---

> ## Documentation Index
> Fetch the complete documentation index at: https://support.fortanix.com/llms.txt
> Use this file to discover all available pages before exploring further.

# User authentication

Post/v1/sys/auth

User authentication.

Body parameters

Request to authenticate.

<select class='api-response-data' aria-label='Media type'><option value='d0159f87-65f0-46e9-b3a7-4cd9026e7ac5'>application/json</option>
</select>Expand Allobject  oauth_auth_codeobject (OauthCodeData)  Requiredidp_idstring  (binary)    Required
codestring    Required
emailstring    

Responses200<select class='api-response-data' aria-label='Media type'><option value='f5e1e197-df4d-4f9c-b349-dcd3458a6dca'>application/json</option>
</select>Expand Allobject  access_tokenstring    

Bearer token to be used to authenticate to other APIs.

session_infoobject (SessionInfo)  subject_idstring  (uuid)    
session_expires_atinteger  (int64)    

Timestamp of when session will expire.

session_token_expires_atinteger  (int64)    

Timestamp of when session token will expire.

selected_account_idstring  (uuid)    

The selected account ID, if one is selected.
