Shortlinks
List Shortlinks
Lists a project's short links, newest first, with an all-time click count on each row. Pass the last id as after to read the next page.
Authorization
Authorization AuthorizationBearer <token>
In: header
Path Parameters
projectIdrequiredstring
ID of the project to list short links from.
Query Parameters
afterstring
takeinteger
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://www.saasco.com/api/v2/projects/string/shortlinks"[
{
"id": "string",
"createdAt": "string",
"updatedAt": "string",
"destinationURL": "http://example.com",
"shortLinkDomain": "string",
"shortLinkPath": "string",
"projectId": "string",
"domainId": "string",
"clicks": 0
}
]{
"code": "BAD_REQUEST",
"message": "Invalid input data",
"issues": []
}{
"code": "UNAUTHORIZED",
"message": "Authorization not provided",
"issues": []
}{
"code": "FORBIDDEN",
"message": "Insufficient access",
"issues": []
}{
"code": "NOT_FOUND",
"message": "Not found",
"issues": []
}{
"code": "INTERNAL_SERVER_ERROR",
"message": "Internal server error",
"issues": []
}