Skip to main content

Version

Returns the current ECGrid REST API version string. No authentication is required, making this endpoint useful for connectivity testing and health checks.

Endpoint

GET /v2/auth/version

:::info No authentication required This endpoint does not require an X-API-Key or Authorization header. It is safe to call from any context to verify reachability of the API. :::

Response

Returns the API version as a string.

{
"success": true,
"data": {
"version": "2.6"
},
"errorCode": "",
"message": ""
}
FieldTypeDescription
versionstringThe current REST API version (e.g., "2.6")

Code Examples

curl -X GET "https://rest.ecgrid.io/v2/auth/version" \
-H "X-API-Key: $ECGRID_API_KEY"

See Also