---
title: "Retrieve IM Server token"
method: GET
path: "/im/token"
tags: ["Administration"]
---

# Retrieve IM Server token

`GET /im/token`

## Request

- Base URL: `https://HOSTNAME:8887/api`
- URL: `https://HOSTNAME:8887/api/im/token`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/portsip/apis/portsip-pbx-rest-api/docs/im/token/get.ts> (a function with typed inputs; its response is checked against the schema)

Retrieve IM server token

## Response `200`

OK

- object
  - `token` string: The access token for IM Server.

## Other responses

- `4XX`: Error

---

[API](https://skmtc.dev/portsip/apis/portsip-pbx-rest-api.md) - [All operations](https://skmtc.dev/portsip/apis/portsip-pbx-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/portsip/apis/portsip-pbx-rest-api/revisions/577415d4a3d5?raw)
