Initiate BankID login and get redirect URL

Initiate a login process with BankID. It returns a URL to which you will be redirected to complete the identification. A unique ID is created that may be needed for subsequent API calls.

Query Parameters

callbackUrl string required

Headers

Accept Example
Content-Type Example

Responses

200
success boolean
timestamp string
requestId string
data object
GET https://cloud.hostup.se/api/bankid/login
For AI assistants
cURL
curl -X GET "https://cloud.hostup.se/api/bankid/login?callbackUrl=string" \
  -H "X-API-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json"
Response
{
  "success": true,
  "timestamp": "string",
  "requestId": "string",
  "data": {
    "redirectUrl": "string"
  }
}