2.2 Create a Session for the Endpoint

To create an endpoint session, endpoint_secret and endpoint_id from a trusted source are required. Server validates and returns endpoint_session_id if provided values are valid.

For more information, see Endpoint Session.

API Call

POST https://{{hostname}}/api/v1/endpoints/{{endpoint_id}}/sessions

Sample Request

{
    "salt": "i_am_salt",
    "endpoint_secret_hash": "e7e2dfe2209a17159689d4a731ba4b6f381843f03705c4adc734ea238fad8f2f"
   
}

Sample Response

{
"endpoint_session_id": "YV7ebuNLbKj9VuR4wxd7EGqaWG13WjuH"
}