/links/{linkID}Copy Pageput https://www.toneden.io/api/v1/links/{linkID}Update a link.Recent RequestsLog in to see full request historyTimeStatusUser Agent Retrieving recent requests…LoadingLoading…Path ParamslinkIDintegerrequiredNumeric ID of the link to update.Body ParamsidnumbertitlestringThe internal title of the link– not fan-facing.user_idnumberThe ID of the user account that owns the link.target_typestringenumDetermines what type of link landing page to render.musicpodcastlivestreameventtourbiglinkfundraisersmartlinkcustomShow 9 enum valuestarget_urlstringThe destination URL for fanlink types which only have one destination (e.g. the URL of the event for EventLinks).custom_domainstringThe root domain that the link will live on. Built-in domains are biglink.to, tourlink.to, eventlink.to, podlink.to, helpgive.to, and streamlink.to. Users may also add custom domains by contacting support. If null, the link's domain will be fanlink.to.subdomainstringThe subdomain of the link URL. Only available for built-in domains.shortened_pathstringThe path of the link URL. If left blank, this will be auto-generated.isrcstringAn ISRC code entered by the user to generate a music link. This code will be used to auto-populate music services when the track or album is released.upcstringA UPC code entered by the user to generate a music link. This code will be used to auto-populate music services when the track or album is released.click_countintegerThe number of times this link has been visited.clickthrough_countintegerThe number of times a user visited the link's landing page and then clicked through to view the link's target content.show_socialsbooleanWhether to display links to the owner's social media profiles on the link landing page.truefalseskip_landing_pagebooleanWhether to never show the link's landing page, and instead immediatly send the user to the target URL when the link is visited.truefalsesort_services_by_clickthroughsbooleanIf set to true, then the available music services will be sorted by clickthrough count in descending order on the landing page.truefalseuse_saved_servicebooleanThe first time a fan clicks on a music service on any fanlink, that service will be stored in a cookie on the fan's device. If they then visit a music fanlink with use_saved_service set to true, instead of viewing the landing page they will be directed to their saved service to view the track.truefalseaffiliate_codesobjectaffiliate_codes objectpixelsarray of objectspixelsADD objectservicesarrayA list of clickable links to display on the landing page. These represent individual music services for music fanlinks, livestreaming platforms for streamlinks, tour dates for tour fanlinks, URLs for biglinks, and podcast platforms for podlinks.servicesADD MusicLinkService | StreamLinkService | TourLinkService | BiglinkServicesocial_settingsarray of objectsA list of links to social media profiles that will be displayed on the link landing page.social_settingsADD objectheaderstringThe title text to be displayed on the link landing page.metadata_titlestringThe title of the fanlink that will appear when it is shared on social media.metadata_descriptionstringThe description of the fanlink that will appear when it is shared on social media.metadata_image_urlstringThe URL of the image that will appear when the fanlink is shared on social media.authorstringThe name of the author of content that will be shown on the link page.bg_colorstringThe hex color of the background for BigLinks.bg_urlstringThe URL of the background image of the link.image_urlstringThe URL of the landing page's header image.preview_urlstringA YouTube video, Vimeo video, or audio file URL that will appear as playable media on the link landing page.autoplay_previewbooleanIf preview_url is a YouTube video, autoplays video on landing pgae if true.truefalsebutton_colorstringFor EventLinks, the hex color of the primary action button.call_to_actionstringFor EventLinks and fundraiser links, the text of the primary action button.datestringFor EventLinks, the date of the target event.locationstringFor EventLinks, the location of the target event.pricestringFor EventLinks, the price of tickets to the target event.Response 200Successfully updated link.Updated over 5 years ago