Create a mutual authentication session
POST/:handle/session/create
Create a mutual authentication session
Request
Path Parameters
Org handle
- application/json
Body
required
request body
Array [
]
Digest of the expected values after being hashed with the salt multiple times
fields
object[]
Fields the receiver has to fill in
Salt used for hashing the plaintext
Optional subject
Default or saved mutual authentication template ID
Amount of seconds that a session is set to exist (30s < TTL < 15m)
Responses
- 200
- 400
- 404
- 500
OK
- application/json
- Schema
- Example (from schema)
Schema
data
object
{
"data": {
"session_id": "string",
"ttl_secs": 0
},
"success": true
}
Bad Request
- application/json
- Schema
- Example (from schema)
Schema
Human-friendly description that can be shown to the user.
Only present in case of internal errors (status 500 or 502)
{
"data": [
0
],
"detail": "string",
"error_code": "string",
"error_id": "string"
}
Not Found
- application/json
- Schema
- Example (from schema)
Schema
Human-friendly description that can be shown to the user.
Only present in case of internal errors (status 500 or 502)
{
"data": [
0
],
"detail": "string",
"error_code": "string",
"error_id": "string"
}
Internal Server Error
- application/json
- Schema
- Example (from schema)
Schema
Human-friendly description that can be shown to the user.
Only present in case of internal errors (status 500 or 502)
{
"data": [
0
],
"detail": "string",
"error_code": "string",
"error_id": "string"
}