# Account: Ping

This API checks that Octa can be reached and that your API key is valid. Use it to test your integration setup, for
example after configuring the **Key ID** and **Key Secret** in your ERP. This API is not charged.

## URL

```
GET https://cloud.octagst.com/api/octa/einvoice/ping
```

## Query Parameters

This API does not require any query parameters.

## Request Headers

This API requires following HTTP headers:

- `Authorization`

The `Octa-Company` header is not required.

## Response

The response will contain following fields:

| Parameter        | Data Type | Type     | Description                                                 |
| ---------------- | --------- | -------- | ----------------------------------------------------------- |
| `message`        | String    | Required | Always `Octa server is running!`                            |
| `productVersion` | String    | Required | Version of the Octa server                                  |
| `currentUtcTime` | String    | Required | Current date and time of the Octa server, in UTC (ISO 8601) |

```
HTTP/1.1 200 OK
Content-Type: application/json
```

```json
{
  "message": "Octa server is running!",
  "productVersion": "1.0.0",
  "currentUtcTime": "2026-11-23T10:15:30.1234567Z"
}
```

## Failed Response

If the API key is missing or wrong, the API returns `401 Unauthorized`. If the subscription has expired, the account is
blocked, or API access is disabled, it returns `403 Forbidden` with the reason in the `Octa-ErrorCode` and
`Octa-ErrorMessage` headers. Refer [Error Handling](/octa/docs/api/overview/getting-started#error-handling).