➡️Short Links
Redirect links are one of the core primitives on Spindl. They map a Spindl link (https://spindl.link/abcd
) to a specified URL (typically a dApp website).
Get all links for your organization
GET
https://api.spindl.xyz/v1/links
Links will sorted by the time they were created, descending.
Headers
Name | Type | Description |
---|---|---|
X-API-Key* | String | The API token |
Create a link
POST
https://api.spindl.xyz/v1/links
Create a new short link with Spindl tracking.
Headers
Name | Type | Description |
---|---|---|
X-API-Key | String | The API token |
Request Body
Name | Type | Description |
---|---|---|
name* | String | The internal name of the link. While names aren't unique, we recommend using descriptive names like "Winter Campaign - Twitter Post 1" |
url* | String | The URL to redirect to (typically where your app lives). |
Last updated