--- title: "online (Service)" slug: "dpgw-ig-online-service-5-12" updated: 2026-01-14T12:10:29Z published: 2026-01-14T17:11:00Z canonical: "docs.onespan.com/dpgw-ig-online-service-5-12" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.onespan.com/llms.txt > Use this file to discover all available pages before exploring further. # online (Service) > This command is deprecated! Use [authUser (service)](/sec/docs/dpgw-ig-authuser-service-5-12) instead! > API version: 1 > > Availability: DIGIPASS Gateway 5.0 and later > > Authentication: Basic HTTP authentication using the front-end API key. The online service performs an online authentication. ## URL https://dpgateway_host:dpgateway_port/rest/auth/online ## Request | online parameters | | --- | | Parameter name | Data type | Description | | userID | String | Required. The unique identifier used by OneSpan Authentication Server to identify a user. | | domain | String | Optional. The unique identifier used by OneSpan Authentication Server to identify a group user. | | otp | String | Required.The one-time password (OTP) generated with the Digipass SDK. | ### Example ```json {  "userID": "myUserID",  "domain": "myDomain",  "otp": "1234567890123456" } ``` ## Response | online return values | | --- | | Return value | Data type | Description | | errorCode | Integer | The return code provided by OneSpan Authentication Server. 0 is returned in case of success. | | errorMessage | String | The error message provided by OneSpan Authentication Server. STAT_SUCCESS is returned in case of success. | ### Example ```json {  "errorCode": 0,  "errorMessage": "STAT_SUCCESS" } ```