Generate session
Session.generateSession
Validates credentials and returns a session id, valid for 10 minutes. Pass the id back via the Session-Id header on every protected call.
Body parameters
| Body | Type | Description |
|---|---|---|
key | string REQUIRED | Access key. |
pass | string REQUIRED | MD5(MD5(password) + salt). The inner MD5 is lowercase hexadecimal text, not binary bytes; + means text concatenation. |
Example request
{
"key": "MzJl(...)==",
"pass": "a1a7(...)"
}Example response
{
"result": {
"sessionId": "qPPdEpdtpb"
}
}result fields
| result fields | Type | Description |
|---|---|---|
sessionId | string | Session id, valid for 10 minutes. |