---
title: "Verify credentials"
method: GET
path: "/ping"
tags: ["Ping"]
---

# Verify credentials

`GET /ping`

## Request

- Base URL: `https://my.demio.com/api/v1`
- URL: `https://my.demio.com/api/v1/ping`
- Auth: API key in header `Api-Key` and API key in header `Api-Secret`

Confirms that the `Api-Key` and `Api-Secret` you sent are accepted.
Use it to validate a newly generated pair before wiring anything else.

## Response `200`

The credentials are accepted.

- Pong: The result of the credential check.
  - `pong` boolean, required: True when the credentials are accepted.
  - `sandbox` boolean: Present and true only for a sandbox account.

## Other responses

- `401`: The credentials were rejected.
- `403`: The account is not active, or the id in the path is not one your account may read. An id that does not exist answers here too, so the API does not reveal whether it exists.
- `417`: The per-minute request rate or the account's daily API allowance was exceeded.
- `500`: Something failed on our side. The message is always generic; no internal detail is returned.

---

[API](https://skmtc.dev/demio/apis/public-demio-api.md) - [All operations](https://skmtc.dev/demio/apis/public-demio-api/llms.txt) - [OpenAPI document](https://skmtc.dev/demio/apis/public-demio-api/revisions/619f81d5263f?raw)
