Rebrandly

App · 9 actions

Create, update and delete branded short links, and list links and domains.

Actions

ActionWhat it does
Count linksCount your short links, all of them or those matching a filter.
Create a short linkCreate a branded short link to a web address.
Delete a linkDelete a short link.
Get a linkGet a short link's destination, title, domain and click count.
Get the accountGet the connected account's details and plan usage.
List domainsList the branded domains you can use for short links.
List linksList short links, one page at a time, newest first unless you choose otherwise.
List workspacesList the workspaces the account can reach, with each one's ID.
Update a linkReplace a link's destination, title and favorite flag.

Count your short links, all of them or those matching a filter.

Inputs

Domaindomain_idtext
Only links on this branded domain.
Favouritefavouritetrue/false
Only favorite links when on, only the others when off. Leave empty for all.

Outputs

dataobject
The response from Rebrandly.
Example output
{
  "data": {
    "count": 1
  }
}

Create a branded short link to a web address.

Inputs

DestinationdestinationtextRequired
The web address the short link sends people to.
Domaindomain_idtext
The branded domain for the link. Leave empty to use rebrand.ly.
Slashtagslashtagtext
The part after the domain, such as spring-sale. Letters, digits, - and _. Leave empty for a random one.
Titletitletext
A title to remember the link by.

Outputs

dataobject
The response from Rebrandly.
Example output
{
  "data": {
    "clicks": 1,
    "createdAt": "example",
    "destination": "example",
    "domain": {
      "fullName": "example",
      "id": "example",
      "ref": "example"
    },
    "favourite": true,
    "forwardParameters": true,
    "id": "example",
    "lastClickAt": "example",
    "shortUrl": "example",
    "slashtag": "example",
    "status": "example",
    "title": "example",
    "updatedAt": "example"
  }
}

Delete a short link. It stops redirecting at once.

Inputs

Linklink_idtextRequired
The link's ID, as a list or create step returns it.

Outputs

dataobject
The response from Rebrandly.
Example output
{
  "data": {
    "clicks": 1,
    "createdAt": "example",
    "destination": "example",
    "domain": {
      "fullName": "example",
      "id": "example",
      "ref": "example"
    },
    "favourite": true,
    "forwardParameters": true,
    "id": "example",
    "lastClickAt": "example",
    "shortUrl": "example",
    "slashtag": "example",
    "status": "example",
    "title": "example",
    "updatedAt": "example"
  }
}

Get a short link's destination, title, domain and click count.

Inputs

Linklink_idtextRequired
The link's ID, as a list or create step returns it.

Outputs

dataobject
The response from Rebrandly.
Example output
{
  "data": {
    "clicks": 1,
    "createdAt": "example",
    "destination": "example",
    "domain": {
      "fullName": "example",
      "id": "example",
      "ref": "example"
    },
    "favourite": true,
    "forwardParameters": true,
    "id": "example",
    "lastClickAt": "example",
    "shortUrl": "example",
    "slashtag": "example",
    "status": "example",
    "title": "example",
    "updatedAt": "example"
  }
}

Get the account

Get the connected account's details and plan usage.

Inputs

None.

Outputs

dataobject
The response from Rebrandly.
Example output
{
  "data": {
    "avatarUrl": "example",
    "createdAt": "example",
    "email": "example",
    "fullName": "example",
    "id": "example",
    "subscription": {
      "category": "example",
      "createdAt": "example",
      "limits": {
        "domains": {
          "max": 1,
          "used": 1
        },
        "links": {
          "max": 1,
          "used": 1
        },
        "scripts": {
          "max": 1,
          "used": 1
        },
        "tags": {
          "max": 1,
          "used": 1
        },
        "teammates": {
          "max": 1,
          "used": 1
        },
        "workspaces": {
          "max": 1,
          "used": 1
        }
      }
    },
    "username": "example"
  }
}

List domains

List the branded domains you can use for short links.

Inputs

Activeactivetrue/false
Only domains that can be used for new links when on.
Typetypetext
Only your own domains (user) or Rebrandly's (service).One of: user, service.
Order byorder_bytext
What to sort by. Default is creation time.One of: createdAt, updatedAt, fullName.
Order dirorder_dirtext
Descending or ascending. Default is descending.One of: desc, asc.
Limitlimitnumber
How many domains to return, up to 25. Default is 25.From 1 to 25.
Lastlasttext
For the next page: the ID of the last domain of the previous page.

Outputs

datalist
The response from Rebrandly.
Example output
{
  "data": [
    {
      "active": true,
      "createdAt": "example",
      "fullName": "example",
      "id": "example",
      "topLevelDomain": "example",
      "type": "example",
      "updatedAt": "example"
    }
  ]
}

List short links, one page at a time, newest first unless you choose otherwise.

Inputs

Domaindomain_idtext
Only links on this branded domain.
Slashtagslashtagtext
Only the link with this slashtag. Needs a domain.
Favouritefavouritetrue/false
Only favorite links when on, only the others when off. Leave empty for all.
Order byorder_bytext
What to sort by. Default is creation time.One of: createdAt, updatedAt.
Order dirorder_dirtext
Newest or oldest first. Default is newest first.One of: desc, asc.
Limitlimitnumber
How many links to return, up to 25. Default is 25.From 1 to 25.
Lastlasttext
For the next page: the ID of the last link of the previous page.

Outputs

datalist
The response from Rebrandly.
Example output
{
  "data": [
    {
      "clicks": 1,
      "createdAt": "example",
      "destination": "example",
      "domain": {
        "fullName": "example",
        "id": "example",
        "ref": "example"
      },
      "favourite": true,
      "forwardParameters": true,
      "id": "example",
      "lastClickAt": "example",
      "shortUrl": "example",
      "slashtag": "example",
      "status": "example",
      "title": "example",
      "updatedAt": "example"
    }
  ]
}

List workspaces

List the workspaces the account can reach, with each one's ID.

Inputs

None.

Outputs

datalist
The response from Rebrandly.
Example output
{
  "data": [
    {
      "createdAt": "example",
      "default": true,
      "id": "example",
      "name": "example",
      "role": "example",
      "type": "example"
    }
  ]
}

Replace a link's destination, title and favorite flag.

Inputs

Linklink_idtextRequired
The link's ID, as a list or create step returns it.
Destinationdestinationtext
The new address the short link sends people to. Leave empty to keep it.
Titletitletext
The new title. Leave empty to keep it.
Favouritefavouritetrue/false
Mark the link as a favorite, or not. Leave empty to keep it as it is.

Outputs

dataobject
The response from Rebrandly.
Example output
{
  "data": {
    "clicks": 1,
    "createdAt": "example",
    "destination": "example",
    "domain": {
      "fullName": "example",
      "id": "example",
      "ref": "example"
    },
    "favourite": true,
    "forwardParameters": true,
    "id": "example",
    "lastClickAt": "example",
    "shortUrl": "example",
    "slashtag": "example",
    "status": "example",
    "title": "example",
    "updatedAt": "example"
  }
}

On this page