Create a shortURL for channel URL.
Accessible via URL https://api.channel.io/open/v5/redirections and HTTP POST
Parameter | Example | Required | Description | Parameter Type |
|---|---|---|---|---|
url | Required | URL must be channel URL.URL must contains channel's domain(ex: https://{your_domain}.channel.io) | Form | |
expiration | PT30M | Optional | If this property is null,the expiration is set to 1 minute(PT1M). | Form |
POST https://api.channel.io/open/v5/redirections
Key | Value |
|---|---|
url | |
expiration | PT30M |
Returns an redirection object which includes originalUrl, expireAt, shortUrl
JSON