---
title: "Create subdomain"
method: POST
path: "/call-link/1/subdomains"
tags: ["channels", "webrtc-calls", "call-link", "call-link-subdomains"]
---

# Create subdomain

`POST /call-link/1/subdomains`

## Request

- Base URL: `https://api.infobip.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.infobip.com/call-link/1/subdomains`
- Auth: one of:
  - OAuth 2
    - Client credentials
    - Token URL: `https://api.infobip.com/auth/1/oauth2/token`
  - API key in header `Authorization`
  - API key in header `Authorization`
  - HTTP basic

Use this method to add a new call link subdomain. Maximum number of domains is 3. Cannot contain ".".

## Request body

- Febbeec59369f28c0a6e3ddd1a2666aea9869953e0893914d340d35c6901410cSubdomainRequest
  - `name` string: Name of a subdomain.

## Response `200`

Success.

- Febbeec59369f28c0a6e3ddd1a2666aea9869953e0893914d340d35c6901410cSubdomain
  - `id` string: Identifier of a created subdomain.
  - `name` string: Name of a subdomain: name.call-link.com .

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not found.
- `429`: Too Many Requests
- `500`: Internal Server Error

---

[API](https://skmtc.dev/infobip/apis/infobip-openapi-specification.md) - [All operations](https://skmtc.dev/infobip/apis/infobip-openapi-specification/llms.txt) - [OpenAPI document](https://skmtc.dev/infobip/apis/infobip-openapi-specification/revisions/9dcbbaf902de?raw)
