Skip to main content
POST
/
api
/
v1
/
authorize
/
session
Authorize Session
curl --request POST \
  --url https://api.ekiden.fi/api/v1/authorize/session \
  --header 'Content-Type: application/json' \
  --data '
{
  "delegation": {
    "expires_at": 123,
    "root_public_key": "<string>",
    "root_signature": "<string>",
    "scopes": [
      "full"
    ],
    "session_public_key": "<string>"
  },
  "nonce": "<string>",
  "session_signature": "<string>",
  "timestamp_ms": 123
}
'
{
  "token": "<string>",
  "user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}

Body

application/json

A request to authenticate using a Session Key.

delegation
object
required

A delegation of authority from a Root Key to a Session Key.

nonce
string
required
session_signature
string
required
timestamp_ms
integer<int64>
required

Response

200 - application/json

Successfully authorized and token generated

token
string
required
user_id
string<uuid>
required