Create Session
POST/v2/sessions
Create a new session with initial checks, metadata and challenges for further verification. A token will be returned, which is required for using the session as authentication, e.g. when authenticating an OIDC auth request or SAML request. Additionally, the session token can be used as OAuth2 access token to authenticate against the ZITADEL APIs.
Required permissions:
session.write
Request​
Responses​
- 200
- 403
- 404
- default
OK
Returned when the user does not have permission to access the resource.
Returned when the resource does not exist.
An unexpected error response.