Click here for a complete list of routes.
/session
GET /session restricted
This request returns a redirect URL to silently create a user-session in LionsBase for the authenticated member which is valid for 90 seconds.
The following is a sample HTTP GET request and response. The placeholders
shown need to be replaced with actual values.
Request example
GET /v2/session HTTP/1.1
Host: api.lions.at
X-Authorization: access-token
Optional parameters
Name | Type | Description |
---|---|---|
page | int | the page ID to redirect to. E.g., 804. BEWARE: this page must be public |
domain | string | as an alternative to the page ID, you may specify the domain. E.g., broye-vully.lionsclub.ch |
Response example
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length
{
"redirect": "https://some-redirect.url"
}