omnichannelmessenger
  1. Short URL
omnichannelmessenger
  • Sent API
    • Image
      • URL
      • File Base64
    • Video
      • URL
      • File Base64
    • Audio
      • URL
      • File Base64
    • Document
      • URL
      • File Base64
    • Text
      POST
    • Contact
      POST
    • Sticker
      POST
    • Async Status
      POST
  • Sent Group API
    • Image
      • URL
      • File Base64
    • Video
      • URL
      • File Base64
    • Audio
      • File Base64
      • URL
    • Document
      • URL
      • File Base64
    • Text
      POST
    • Async Status
      POST
  • Administration
    • User Info
      POST
    • API Report
      POST
    • Purge The Report
      POST
    • Change Profile Name
      POST
    • Screenshot
      POST
  • Feature
    • Short URL
      • Generate
        POST
      • Query
        POST
    • Generate Login by Code
      POST
    • Generate Login QR
      POST
    • Archive All Chats
      POST
    • Chat History
      POST
    • Check Destination Info
      POST
    • Get Group Member
      POST
    • Logout
      POST
  • Scheduler
    • Scheduler Message Info
    • Remove Schedule Message
  1. Short URL

Generate

POST
/api/createShort
Create short url, input with key and result status and new short url domain.

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
status
message
object 
required
url
string 
required
shortCode
string 
required
Example
{
  "status": "success",
  "message": {
    "url": "https://www.detik.com",
    "shortCode": "https://huhux.com/pGw"
  }
}
Previous
Screenshot
Next
Query
Built with