v1

latestOpenAPI 3.0.12026-07-2471135326.0 KB
links

Edit Short URL

.

patch/v2/links/{id}

Path parameters

idstring required

Unique identifier of the short URL.

Request body

dataobject
<p>This array can be used by the customer to enter and store additional information about the short URL.</p><p><b>This additional information must be set in JSON format at key/value level.</b></p><p>For example:</p><p><code>'data': { 'name': 'Elizabeth Smith', 'email': 'eli7218@mailpoof.com' }</code></p>

Response

Successfully created

Example response

{
  "meta": {
    "timestamp": 1597166699457,
    "transactionId": "70169d77-c165-4795-9932-35b8a3af96fb",
    "explain": "a descriptive text"
  },
  "data": {
    "id": "id",
    "longUrl": "wwww.mylongUrl.com",
    "externalId": "18",
    "callbacks": [
      "callbacks"
    ],
    "shortLink": "shortLink.me/wrh6Hn",
    "date": "2020-07-20T21:11:12.352Z"
  }
}