Query parameters
-
iw-build-id
string build id of the client
-
iw-package-id
string package id of the client
POST
/api/googles/logins
curl \
--request POST 'https://replace-with-own-host.iw-erp.de/api/googles/logins' \
--header "x-session-token: $API_KEY" \
--header "Content-Type: application/json" \
--data '{"data":{"code":"string","type":"string","client_id":"string"}}'
Request examples
{
"data": {
"code": "string",
"type": "string",
"client_id": "string"
}
}
Response examples (200)
{
"id": 42,
"sessionid": "string",
"selectedcustomer": {
"id": 42,
"slackchannel": "string",
"displayname": "string",
"deleted": true,
"created": "2025-05-04T09:42:00Z",
"updated": "2025-05-04T09:42:00Z"
},
"start": "2025-05-04T09:42:00Z",
"ip": "string",
"valid": true,
"is_api_key": true,
"is_dg": true,
"missing2fa": true,
"start_in_vpn": true,
"auth_by_credentials": true,
"auth_by_google": true,
"auth_by_microsoft": true,
"auth_by_cloudflare": true
}