MakeShorter
  • Start Make Shorter
  • API INTEGRATION
    • Getting Started
    • Configuration
    • Link Group
    • Link
    • Custom Domains
  • Features
    • Customer Data
    • Custom Rules
    • Parameters & Headers
Powered by GitBook
On this page
  • list
  • create
  • update
  • delete

Was this helpful?

  1. API INTEGRATION

Link Group

list

GET https://api.makeshorter.com/v1/linkgroup/list/:page

This endpoint gives all active link groups. Pagination allows to return only 50 items for each result.

Path Parameters

Name
Type
Description

page

number

page number. If page number is 2, request gives items for 50-100. Default is 1.

{
    "isSuccess": true,
    "message": "Success Message",
    "data": [
        {
            "id": "00000000-0000-0000-0000-000000000000",
            "name": "Link Group Name",
            "description": "Link Group Description"
        }
        ...
    ]
}
{
    "isSuccess": false,
    "message": "Error Message",
    "data": null
}

create

POST https://api.makeshorter.com/v1/linkgroup/create

This endpoint creates new link group and returns it

Request Body

Name
Type
Description

description

string

Link group description

name

string

Link group name

{
    "isSuccess": true,
    "message": "Success Message",
    "data": 
        {
            "id": "00000000-0000-0000-0000-000000000000",
            "name": "Link Group Name",
            "description": "Link Group Description"
        }
}
{
    "isSuccess": false,
    "message": "Error Message",
    "data": null
}

update

POST https://api.makeshorter.com/v1/linkgroup/update

This endpoint update existing link group.

Request Body

Name
Type
Description

description

string

Link group new description

name

string

Link group new name

id

string

Link group id

{
    "isSuccess": true,
    "message": "Success Message",
    "data": 
        {
            "id": "00000000-0000-0000-0000-000000000000",
            "name": "Link Group New Name",
            "description": "Link Group New Description"
        }
}
{
    "isSuccess": false,
    "message": "Error Message",
    "data": null
}

delete

DELETE https://api.makeshorter.com/v1/linkgroup/:id

Path Parameters

Name
Type
Description

id

string

Link Group id

{
    "isSuccess": true,
    "message": "Success Message",
    "data": null
}
{
    "isSuccess": false,
    "message": "Error Message",
    "data": null
}
PreviousConfigurationNextLink

Last updated 3 years ago

Was this helpful?