⛓️

LinkDetails

Describes how to generate an url to a creators’ website, email or social media accounts based on base_url, value, and type.
Property
Type
Description
type
The website
value
String
The specific path to append to the website to get to a creator’s profile
base_url
String (Optional, usually ignored)
Base url for the link. For security reasons this value is usually ignored by clients to avoid the following scenario: Setting a link type as FACEBOOK but linking to a malicious site that isn't facebook. Click here for a list of assumed base_urls based on type.

LinkType

Possible website to use as a creators’ website, email or social media accounts
enum LinkType { INSTAGRAM YOUTUBE TIKTOK PATREON KO_FI EMAIL TWITTER MASTODON FACEBOOK WEBSITE # can be any website that starts with https:// MERCH_STORE # can be any website that starts with https:// LINKTREE TWITCH SNAPCHAT REDDIT DISCORD TELEGRAM ETSY PINTEREST TUMBLR SPOTIFY SOUNDCLOUD BANDCAMP VIMEO WECHAT WHATSAPP BLUESKY }

Example

For the following links, let’s get the link to the creator’s Bluesky account:
We take the link with type = BLUESKY, and append the base_url + value to get: https://bsky.app/profile/dmathewwws.com
 
links": [ { "type": "BLUESKY", "base_url": "https://bsky.app/profile/", "value": "dmathewwws.com" }, { "type": "EMAIL", "value": "danny@taddy.org" }, { "type": "WEBSITE", "base_url": "https://", "value": "inkverse.co" } ],