Skip to main content
POST
Create a link

Authorizations

erlcrussia-api-key
string
header
required

Custom API key. Store on the server; do not include client-side JavaScript.

Path Parameters

teamId
string
required

Body

application/json

path или slug задаёт путь; пустой путь допустим для корня. Обычная организация обязана указать подтверждённый domainHost. Только основная организация может использовать domainHost:null или пустую строку; сохраняется null.

slug
string
targetUrl
string<uri>
description
string
domainHost
string

Подтверждённый домен организации. Только основная организация может передать null/пустую строку для общих базовых доменов.

isActive
boolean
groupIds
string[]

Response

Successful response.

id
string
slug
string
targetUrl
string
description
string
isActive
boolean
domainHost
string
teamId
string
clicks
integer
createdAt
string<date-time>
updatedAt
string<date-time>
domain
object
groups
object[]