# Collect the Issuer and SP's DID

## File creation for the Issuer DID (SP DID)

DID file can be created through API request. Please use the API Tester(Talend API Tester)

Replace the content with the received response through the API request from the "Project/config/issuer.did" file or "Project/config/sp.did".

| Item       | Content                                               |
| ---------- | ----------------------------------------------------- |
| **URL**    | <https://service.omnione.net:8888/v1/chain/get\\_did> |
| **Method** | POST                                                  |
| **header** | content-type:application/json                         |
| **body**   | { "id":"account" }                                    |

> #### Request example <a href="#undefined" id="undefined"></a>

![](/files/-MB3vzkiUT1DWiKM9WU2)

> #### Response example

The BODY value received through the request is the DID Document which will save it as same as below.

![](/files/-MB3wIGvycPSS3HHFCAw)

Some BODY content received through the above request either save with issuer.didfile or in case of SP, save it as sp.did and place it to "project/config/". If it already exists replace it.


---

# 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://dev-en.omnione.net/server-system-construction/untitled/untitled-1.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.
