Links
/v1/links/new
Create a new link
get/v1/links/new
Request
- Base URLhttps://api.rebrandly.com
- URLhttps://api.rebrandly.com/v1/links/new
- AuthAPI key in header apikey
Query parameters
destinationstring required
The destination URL you want your branded short link to point to
slashtagstring
The keyword portion of your branded short link
titlestring
A title you assign to the branded short link in order to remember what's behind it
domain[id]string
The unique id of the branded domain. If not specified, rebrand.ly is used
domain[fullName]string
The unique name of the branded domain, to be used in place of domain[id] in special cases. Precedence will be given to domain[id] value.
Headers
workspacestring
Which workspace id to be used to create new links. No workspace specified will select default workspace.
Response
200
Example response
{
"id": "fffa4cc5b6ee45d6g7897b06ac2d16af",
"title": "What is Rebrandly",
"slashtag": "video",
"destination": "https://www.youtube.com/watch?v=3VmtibKpmXI",
"createdAt": "2016-07-13T10:54:12.000Z",
"updatedAt": "2016-07-13T10:54:12.000Z",
"shortUrl": "rebrand.ly/video",
"domain": {
"id": "8f104cc5b6ee4a4ba7897b06ac2ddcfb",
"fullName": "rebrand.ly"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.