---
description: Get an overview of the i'mport API.
---

# i'mport API overview

### Learn how to configure HTTP header in i'mport API call.

1. Call [**/users/getToken**](rest-api-access-token) with **API Key** & **API secret** to get an <mark style="color:red;">**`access_token`**</mark>.\

2. In the API call, include the <mark style="color:red;">**`access_token`**</mark> as **`Authorization:`**<mark style="color:red;">**`access_token`**</mark> or **`X-ImpTokenHeader:`**<mark style="color:red;">**`access_token`**</mark> in the HTTP header.

{% hint style="info" %}
**Content-Type**

API Content-Type supported in i'mport is:

**Application.json;charset=UTF-8**
{% endhint %}

{% hint style="warning" %}
**Agency Merchant**&#x20;

Sub-merchants must specify the following in the **`HTTP Header`** and use the **Agent account's** <mark style="color:blue;">**`API key`**</mark> and <mark style="color:blue;">**`Secret`**</mark> to call the i'mport API.

* **`"Tier" : "`**<mark style="color:red;">**`Tier code`**</mark>(Sub-merchant Tier Code)"
{% endhint %}

### API specification

To check the detailed specification for i'mport API response, select the **HTTP Status&#x20;**<mark style="color:green;">**200**</mark> response as shown below.

![Sample response](https://2814812280-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhTv8JEzyM5h4cYcL5StH%2Fuploads%2FRRA02aFuMlPyN1MtMOa3%2Fapi_response.png?alt=media\&token=5f9de1c1-607f-47d8-907c-b6403631d281)

{% hint style="info" %}
**API Swagger site**

i'mport supports the Swagger API Specification.

[**https://api.iamport.kr**](<https://api.iamport.kr>)
{% endhint %}
