- Sent API
- Sent Group API
- Image
- Video
- Audio
- Document
- TextPOST
- Async StatusPOST
- Administration
- Feature
- Scheduler
Generate
POST
/api/createShort
Request
Body Params application/json
key
string
required
url
string
required
Example
{
"key": "xyz",
"url": "https://lumbering-kick.name/"
}
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.omnichannelmessenger.com/api/createShort' \
--header 'Content-Type: application/json' \
--data-raw '{
"key": "xyz",
"url": "https://lumbering-kick.name/"
}'
Responses
🟢200Success
application/json
Body
status
string
required
message
object
required
url
string
required
shortCode
string
required
Example
{
"status": "success",
"message": {
"url": "https://www.detik.com",
"shortCode": "https://huhux.com/pGw"
}
}