Get Link
GET Returns information about a link.
Request
Query Parameters
Name | Type | Required | Notes |
---|---|---|---|
link_id | string | true | The ID of the link to retrieve |
Example
curl -L -X GET 'https://prettyurl.net/api/v1/links/<LINK_ID>' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <API_KEY>'
Response
Schema
link
Key | Type |
---|---|
id | string |
title | string |
domain | string |
group | object |
back_half | string |
short_link | string |
original_link | string |
updated_at | datetime |
created_at | datetime |
Example
{
"status": "success",
"message": "API request processed successfully.",
"data": {
"link": {
"id": string,
"title": string,
"domain": string,
"group": {
"id": string,
"name": string,
"created_at": datetime
},
"back_half": string,
"short_link": string,
"original_link": string,
"updated_at": datetime,
"created_at": datetime
}
}
}