# Verify 2FA code for this session **GET /api/session/verify2fa/{id}/{code}** ## Servers - https://replace-with-own-host.iw-erp.de: https://replace-with-own-host.iw-erp.de () ## Authentication methods - Session token - Jwt token internal - Login config ## Parameters ### Path parameters - **id** (string) - **code** (string) ### Query parameters - **iw-build-id** (string) build id of the client - **iw-package-id** (string) package id of the client ## Responses ### 200 Verify 2FA code for this session #### Body: application/json (object) - **id** (integer) - **sessionid** (string) - **user** (object) - **selectedcustomer** (object) - **start** (string(date-time)) - **refreshed_start** (string(date-time)) - **ip** (string) - **valid** (boolean) - **is_api_key** (boolean) - **is_dg** (boolean) - **missing2fa** (boolean) - **start_in_vpn** (boolean) - **auth_by_credentials** (boolean) - **auth_by_google** (boolean) - **auth_by_microsoft** (boolean) - **auth_by_cloudflare** (boolean) [Powered by Bump.sh](https://bump.sh)