---
title: "Retrieve a SMS/MMS service"
method: GET
path: "/sms/{id}"
tags: ["SMS/MMS"]
---

# Retrieve a SMS/MMS service

`GET /sms/{id}`

## Request

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

Retrieve a SMS/MMS service.

## Path parameters

- `id` string, required: The unique ID of the resource.

## Response `200`

OK

- object
  - `id` string: The unique ID of the resource.
  - `name` string: The name of SMS/MMS service.
  - `enabled` boolean: The flag for whether the SMS/MMS service is enabled.
  - `sender_id` string: The sender ID of SMS/MMS service.
  - `provider_id` string: The unique ID of the resource.
  - `provider_name` string: The name of the trunk.
  - `provider_brand` string: The brand of trunk.
  - `provider_hostname` string: Server hostname or IP address
  - `webhook` string: The `Universal Resource Locator` of some resource.

## 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)
