-
Notifications
You must be signed in to change notification settings - Fork 0
Authentication
Michael Sagnes edited this page Sep 2, 2023
·
1 revision
{{BASE}}/api/auth/signin
raw (json)
{
"email": "john.doe@mail.com",
"password": "johnsprivatepassword"
}{
"api": "Instream API v.1.0",
"code": 200,
"status": "Success",
"accessToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjYyN2Q4ODY4ZTMwMDc3Y2E4YjhiMjRjMSIsImlhdCI6MTY5MzY5MTcxMywiZXhwIjoxNjkzNzc4MTEzfQ.e1QJ3iUUAM3QeZ4GAT3cGSTeTGHqsqa9UHLb8ipufp4",
"message": "Successful login!"
}Access token is required for all other requests made through the API. Should be stored as a request header x-access-token. If any naming of the token applies, simply name it token.