The RPACPC E-Way Bill Authentication API enables applications to submit user credentials and receive authentication details for supported E-Way Bill operations. Integrate authentication into your GST workflows through a standardized API interface.
The E-Way Bill Authentication API is part of the RPACPC GSP – E-Way Bill Suite. It accepts authentication credentials and returns a response containing the login status, authentication token, session key, and token expiry information.
Applications can use the returned authentication details as part of their integration with supported E-Way Bill services.
The API response may include the following information, depending on the response received:
IRN and cancellation date and time returned by the API.
API response status, status code, response message and error information.
Billing indicator returned by the API.
Request and sequence identifiers for tracking cancellation requests.
Request and response timestamps for transaction monitoring and auditing.
Provide the required client credentials, GSTIN and environment configuration in the API request headers.
Send the configured username and password in the request body.
Receive the authentication status and related fields returned by the API.
Process the returned authentication token and session encryption key (SEK).
Handle the token expiry timestamp and tracking details for subsequent E-Way Bill API requests.
| Parameter | Type | Description |
|---|---|---|
| client_id | String | Client identifier issued for API access. |
| client_secret | String | Client secret used for API access. |
| gstin | String | GSTIN associated with the request. |
| token | String | Confirm whether this header is required for authentication. |
| secretkey | String | Confirm whether this header is required for authentication. |
| sandbox | String | Specifies the environment configuration. |
| username | String | E-Way Bill user login name. |
| password | String | E-Way Bill user password. |
{
"request_id": "REQ123456",
"consent": "Y",
"consent_text": "I consent to fetching my information through RPACPC API.",
"username": "<EWAY_BILL_USERNAME>",
"password": "<EWAY_BILL_PASSWORD>"
}
| Parameter | Type | Description |
|---|---|---|
| status | String | Overall response status. |
| status_code | String | Response status code. |
| message | String | Message describing the API response. |
| billable | Boolean/String | Indicates the billable flag returned by the API. |
| error | Null/Object | Error information, if returned. |
| data.ClientId | String | Client identifier in the response. |
| data.UserName | String | Username associated with the authentication response. |
| data.AuthToken | String | Authentication token returned by the API. |
| data.Sek | String | Session encryption key returned by the API. |
| data.TokenExpiry | String | Token expiry timestamp. |
| request_id | String | Request tracking identifier. |
| sequence_id | String | Sequence tracking identifier. |
| request_time | String | Timestamp when the request was recorded. |
| response_time | String | Timestamp when the response was recorded. |
{
"status": "SUCCESS",
"status_code": "200",
"message": "Logged in successfully",
"billable": "Y",
"error": null,
"data": {
"ClientId": "CLIENT_ID",
"UserName": "EWAY_BILL_USERNAME",
"AuthToken": "AUTH_TOKEN",
"Sek": "SESSION_ENCRYPTION_KEY",
"TokenExpiry": "YYYY-MM-DD HH:mm:ss"
},
"request_id": "REQUEST_ID",
"sequence_id": "SEQUENCE_ID",
"request_time": "REQUEST_TIMESTAMP",
"response_time": "RESPONSE_TIMESTAMP"
}
The example reflects the supplied response schema. Actual values and error responses may vary depending on the request and environment.
Integrate authentication into applications that connect with supported E-Way Bill services.
Support authentication as part of workflows involving transport documentation and E-Way Bill operations.
Enable ERP, accounting, and business applications to incorporate the authentication step into their E-Way Bill integration.
Use the API as an authentication component within broader GST and logistics automation workflows.
Manage authentication tokens, session encryption keys, and token expiry information for subsequent E-Way Bill API requests.
Common questions about the E-Way Bill Authentication API — what it returns, how fast it is, and how to integrate.
Government ID Check API helps banks, FinTechs, and NBFCs streamline KYC with faster identity verification and reduced manual work.
Read More
Empower your applications with India's Enterprise Verification Intelligence Platform for faster, more reliable verification.