Skip to main content
POST

Add Link

Adds a new link tile to the specified project. The tile is automatically assigned the next available position at the bottom of the grid. Requires pages:write scope.

Headers

string
required
Bearer token with pages:write scope.

Path Parameters

string
required
The project ID.

Request Body

string
required
The destination http(s) URL.
string
default:"other"
One of: live-demo, github, documentation, youtube, x, linkedin, product-hunt, devpost, blog, other.
string
Custom display title for the tile.
string
default:"2x1"
Tile size: 1x1, 2x1, 2x2, 4x1. (Social links like x, twitter, linkedin automatically default to 2x2).
string
Optional custom thumbnail image URL.

Response

string
Created Link ID
string
Link type
string
Destination URL
number
Zero-indexed grid index
string | null
Tile Title
string
Tile grid span
string | null
Thumbnail URL
boolean
Active state
boolean
Highlight state