curl --location --request POST 'https://api.stateset.com/v1/session' \ --header 'Content-Type: application/json' \ --header 'Authorization: Token <token>' \ --data-raw '{ "id": "" }'
{ "data": { "insert_session": { "returning": [ { "id": "", "name": "", "uuid": "", "user_id": "" } ] } } }
This endpoint creates a new session