api access

External API

  1. Home › 
  2. API Access

Authentication

The Regery API uses secret API keys to authenticate requests. You can view and manage your API keys in the Control Panel

We strongly recommend that you keep your API keys and secrets secure, do not share your secrets in public areas such as GitHub, client code, etc. Regery does not store API secrets. You can always rotate your secrets using the Control Panel.

Authentication to the API is done using the HTTP Authorization header, where you need to specify your API key and secret, separated by a colon.

All API requests must be made over HTTPS. Calls made over regular HTTP will not be honored. API requests without authentication will also fail.


HTTP ENDPOINT
https://api.regery.com/
EXAMPLE REQUEST: POST /v1/api/echo
Host: api.regery.com
Authorization: API_KEY:API_SECRET
Content-Type: application/json
Content-Length: 32

{
    "line": "Hello world!!!"
}
EXAMPLE RESPONSE: HTTP 200 OK
{
       "response": "Hello world!!!"
}