> For the complete documentation index, see [llms.txt](https://intella.gitbook.io/scan2pay/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://intella.gitbook.io/scan2pay/api-gui-ge-shui-ming/huo-qu-token.md).

# 獲取token

<mark style="color:green;">`POST`</mark> `https://intella-sso-server-domain/oauth/token`

#### Query Parameters

| Name        | Type   | Description |
| ----------- | ------ | ----------- |
| grant\_type | string | 授權方式        |
| code        | string | 授權碼         |

#### Headers

| Name          | Type   | Description                       |
| ------------- | ------ | --------------------------------- |
| Authorization | string | sfd                               |
| Content-Type  | string | application/x-www-form-urlencoded |

{% tabs %}
{% tab title="200 Cake successfully retrieved." %}

```
{    "access_token": "xxxxxxxxxxxxxxxx"  }
```

{% endtab %}
{% endtabs %}
