Skip to content
DikoAPI
API keys

Get the API index

Open as Markdown

Returns the API name, version and links to the documentation and the OpenAPI document.

GET/
Required scope
No authentication required
Authentication
No authentication required

No API key is needed. The request is not rate limited, so the response carries no rate-limit headers.

Response

200

The API index.

  • Request-Id ID of this request (req_ prefix), the same as request_id in an error body. It is also sent as X-Request-ID. Quote it when you contact support.
  • X-Client-Request-Id Your own X-Client-Request-Id request header, echoed back. It is sent only when the value you sent has 1-128 characters from A-Z a-z 0-9 . _ : -.

Content type: application/json

  • objectstringrequired

    Always api.

  • versionstringrequired

    API version, v1.

    Allowed values: v1

  • docs_urlstringrequired

    Link to the documentation.

    format: uri

  • openapi_urlstringrequired

    Link to the OpenAPI 3.1 document.

    format: uri

Examples

Request

cURL
curl "https://api.diko.app/api/v1"

Example response · 200 · application/json

JSON
{
  "object": "api",
  "version": "v1",
  "docs_url": "https://diko.app/en/api-docs",
  "openapi_url": "https://api.diko.app/api/v1/openapi.json"
}

Errors

This endpoint can return these errors. Every code is described in the error catalog.

HTTPCodeMeaningRetry?
404api_disabledThe public API is currently switched off.conditionally
500internal_errorAn internal server error.conditionally

Search for a topic, an endpoint or an error code.

Search across all documentation pagesesc close