# Service Authentication API

Register your service on [Entity Studio Developer Dashboard](/hypersign-developer-dashboard/developer-dashboard.md) and generate your API secret Key before proceeding.&#x20;

Once the API secret key is generated, you can use the API below to generate a new access token. Just pass your API secret Key in `X-Api-Secret-Key` header to generate access token. The `access_token` is required to access all SSI APIs. Read the next section for more details.&#x20;

{% hint style="info" %}
Entity Studio SSI API base URL: <https://api.entity.dashboard.hypersign.id/>
{% endhint %}

{% openapi src="/files/vgw0vjv4rN8E1Tf2vbDp" path="/api/v1/app/oauth" method="post" %}
[api-json.json](https://1497651738-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MOLDOibYYcG4PCSEDDL%2Fuploads%2FjYVydJufhHpdtxi9oslY%2Fapi-json.json?alt=media\&token=695305b2-cc3b-400b-9c46-54606891a2d7)
{% endopenapi %}

Once you generated the `accessToken`, you can pass this token as *<mark style="background-color:yellow;">bearer authorization token</mark>* in the header for all APIs.&#x20;

{% content-ref url="/pages/u8XWTiyGTIJULYI41CYW" %}
[Generate AccessTokens](/hypersign-kyc/kyc-widget/integrations/backend-integration/generate-accesstokens.md)
{% endcontent-ref %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.hypersign.id/hypersign-ssi/api-doc/authentication.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
