O
O
Organisation API
Search…
⌃K

/sso/login

post
https://api-org.synap.ac
/sso/login
Login

Body Parameters

User
Attribute
Type
Required
Description
email
string
yes
The user's email address

Examples

cURL Request
Request Body
Response
curl --request POST \
--url https://api-org.synap.ac/sso/login \
--header 'content-type: application/json' \
--header 'x-syn-org-id: org123test' \
--header 'x-syn-org-secret: secret123test' \
--header 'x-api-key: test123api' \
--data '{
"user": {
"email": "[email protected]"
}
}'
{
"user": {
"email": "[email protected]"
}
}
200 OK
{
"authenticatedURL": "https://yourPortalURL.ac?st=r:123sessiontoken567"
"timestamp": "2020-03-30T10:05:16.754Z"
}
--
403 Forbidden
{
"code": 403,
"error": "Unauthorised request."
}
--
401 Unauthorized
{
"code": 401,
"error": "Object not found."
}
Last modified 2yr ago