> For the complete documentation index, see [llms.txt](https://docs.vida.id/identity-stack/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.vida.id/identity-stack/verify/document-ai/ocr-and-document-verification/ocr-ktp/prerequisites.md).

# Prerequisites

Getting API Credentials

In order to access the authentication API, you will need a client ID and secret

{% hint style="info" %}
**Contact Vida Support**

If you haven't got the API credentials, you can reach out to [<mark style="color:blue;">VIDA support team.</mark>](mailto:support@vida.id)
{% endhint %}

## Environments

Vida supports sandbox and production environments. Please refer to the following  API URLs, which can be used for sandbox environments.

### API URLs

<table data-header-hidden><thead><tr><th width="207"></th><th></th></tr></thead><tbody><tr><td>API</td><td>Sandbox</td></tr><tr><td>Authorization Token API</td><td><a href="https://qa-sso.vida.id/auth/realms/vida/protocol/openid-connect/token">https://qa-sso.vida.id/auth/realms/vida/protocol/openid-connect/token</a></td></tr><tr><td>KTP OCR API call</td><td><a href="https://services.vida.id/verify/v1/ktp/ocr">https://services-sandbox.vida.id/verify/v1/ktp/ocr</a></td></tr><tr><td>Get transaction Status</td><td><a href="https://services.vida.id/main/v1/services/web/%7BkycEventId%7D/status">https://services-sandbox.vida.id</a><a href="https://services.vida.id/verify/v1/transaction/%7Btransaction_id">/verify/v1/transaction/{transaction_id</a>}</td></tr><tr><td>Demographic check<br>Sync API call</td><td><a href="https://services.vida.id/main/v1/services/web/%7BkycEventId%7D/status">https://services-sandbox.vida.id</a><a href="https://services.vida.id/verify/v1/demog-lite/transaction">/verify/v1/demog-lite/transaction</a></td></tr></tbody></table>
