SkyBrance Logo
SkyBrance
Menu
Active: OverviewEasy to start24/7 SupportEasy to integrate
Base path: /api/skyhJSON requests and responses

API docs with methods, headers, payloads, and response examples.

These routes are the concrete request surface used by the current SkyBrance client wrappers. They cover short-link creation, analytics, OG image uploads, collaboration, and transfer flows.

Headers

Most authenticated requests include Authorization: Bearer <token> and Content-Type: application/json.

Response format

Examples below show the expected JSON envelope and the data fields the SDK reads from the backend.

What is documented
Every route used in the current wrapper layer
Short link create and update
Analytics and list endpoints
Signed OG image uploads
Collaborators and transfer flows
Delete operations

Create / Update

Body payload fields for link management.

OG upload

Signed upload URL generation and content type support.

Collaboration

Invite, accept, reject, leave, add, and remove collaborators.

Delete

Remove links and transfer inbox items.

POST

Upload an OG image

Request a signed upload URL for a link OG image and then upload the binary to that URL.

/api/skyh/upload-image/:id
Headers
Authorization: Bearer <token>
Content-Type: application/json
Response sample
{
  "status": true,
  "message": "Upload URL generated",
  "data": {
    "uploadUrl": "https://...",
    "publicUrl": "https://..."
  }
}
Route params
idrequired

The link identifier.

Body payload
contentTyperequired

Image MIME type. Supported: image/jpeg, image/png, image/jpg, image/webp.

Notes
  • The returned publicUrl is what you store back on the link record.
GET / POST / PUT / DELETE

Collaboration endpoints

Invite collaborators, list shared links, and accept or reject invitations.

/api/skyh/collaboration-link, /api/skyh/collaborate-link/:id
Headers
Authorization: Bearer <token>
Content-Type: application/json
Response sample
{
  "status": true,
  "message": "Collaboration updated",
  "data": []
}
Body payload
email

Collaborator email address.

collaboratorEmail

Alias for the collaborator email used by the wrapper.

role

Collaborator role value.

Notes
  • GET /api/skyh/collaboration-link returns collaborated links.
  • GET /api/skyh/collaboration-link/invitation returns pending invitations.
  • POST /api/skyh/collaboration-link/accepted/:invitationId accepts an invite.
  • POST /api/skyh/collaboration-link/rejected/:invitationId rejects an invite.
  • POST /api/skyh/collaborate-link/:id adds a collaborator.
  • PUT /api/skyh/collaborate-link/:id removes a collaborator.
  • DELETE /api/skyh/collaborate-link/self/:id leaves a shared link.
GET / POST

Transfer endpoints

Invite someone to transfer ownership, list transfers, and accept or reject transfer requests.

/api/skyh/transfer/:id
Headers
Authorization: Bearer <token>
Content-Type: application/json
Response sample
{
  "status": true,
  "message": "Transfer request sent"
}
Body payload
email

Email of the recipient.

Notes
  • GET /api/skyh/transferred-links returns transfer inbox entries.
  • POST /api/skyh/accept-link/:id accepts a transfer.
  • POST /api/skyh/reject-link/:id rejects a transfer.

Integration note

The current frontend wrappers in the repository are the source of truth for the endpoint paths, headers, and request shapes shown here. If a backend contract changes, update the wrapper and this reference together.