# Testing REST API

You can test the Asset tokenization REST APIs right from within the Spydra console. You can also test the APIs from any REST API client like Postman.

{% hint style="info" %}
The pre-requisite is that the Asset tokenization app should already be deployed on a Network.
{% endhint %}

### 1. Create an API key

* Navigate to the Network
* Go to API key page from the Side menu
* Generate an API key for the Organization
* Copy the API key

<figure><img src="https://640808362-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5jDaQI2dLzXe5VgQBNFE%2Fuploads%2Fvdwq8A768FQcbzUW3iB8%2Fimage.png?alt=media&#x26;token=c8e4a890-d92c-4619-ba8f-2ff4f1b40db2" alt=""><figcaption></figcaption></figure>

### 2. REST API page in Deployed App

* Navigate to Network
* Click on Deployed Apps and select the Asset Tokenization API
* In the REST API page, select the Organization, if you have multiple Organizations

<figure><img src="https://640808362-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5jDaQI2dLzXe5VgQBNFE%2Fuploads%2FO2HHET43PNNTT2aa4TKe%2Fimage.png?alt=media&#x26;token=9d1608d9-1b5c-43ea-b640-2404611455a4" alt=""><figcaption></figcaption></figure>

* Click on Authorize, Enter the copied API key, and Authorize
* Once it is Authorized, you can click on Try it now for a specific API

<figure><img src="https://640808362-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5jDaQI2dLzXe5VgQBNFE%2Fuploads%2FzoKbPBkP69KBPUFy8kaK%2Fimage.png?alt=media&#x26;token=695ec654-1643-4ef6-9702-9d1f9068d8f4" alt=""><figcaption></figcaption></figure>

* Enter your Request in the Request Editor and execute.

<figure><img src="https://640808362-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5jDaQI2dLzXe5VgQBNFE%2Fuploads%2Fo0eYqqjYs6tdE8xe7uQO%2Fimage.png?alt=media&#x26;token=52e25e46-f6cf-4315-8332-e9d905e5647d" alt=""><figcaption></figcaption></figure>

* You will get a response. That's how you can use Swagger on Spydra Interface
