Create Short URLs

.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

This endpoint allows you to create multiple short URLs in one POST call.

There are two types of creating multiple short links:

  • By a single long URL, you can create multiple unique URLs in one call. That is, each short URL you create will redirect to the same long URL.

Before creating multiple unique URLs, you need to provide the total number of short URLs you want to create (size).

  • By multiple long URLs: you can create multiple different long URLs in one call. That is, each short URL you create will redirect to a different long URL, not just one.

To know how to create multiple short URLs (by a single long URL and multiple long URLs), go to the Creating Batch Short URLs section.

Query Params
int32

Required when creating a Batch Single Long URL

Enter the total number of short URLs to generate.

Body Params
listUrl
array of objects
required
length between 1 and 500

URL destination name.

Enter the URL link to which the short URL will redirect.

listUrl*

URL destination name.

Enter the URL link to which the short URL will redirect.

string
required

URL destination name.

Enter the URL link to which the short URL will redirect.

data
object

This array can be used by the customer to enter and store additional information about the short URL.

This additional information must be set in JSON format at key/value level.

For example:

'data': { 'name': 'Elizabeth Smith', 'email': '[email protected]' }

string

Alphanumeric identifier used for reporting purposes.

string

Alphanumeric identifier used for reporting purposes.

string

Domain which short URL will belong to (string without http/https or /).

Enter the custom domain in case you have requested it from the support team.

By default is 'msgi.me'

data
object

This array can be used by the customer to enter and store additional information about the short URL.

This additional information must be set in JSON format at key/value level.

For example:

'data': { 'name': 'Elizabeth Smith', 'email': '[email protected]' }

Responses

Language
Credentials
Bearer
JWT
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json