Lnk.Bio
  1. Lnks
Lnk.Bio
  • Getting Started
    • Introduction
    • Endpoints
    • Authorization
    • Private Apps
      • Introduction
      • Create a Private App
      • Generate an Access Token
    • Public Apps
      • Introduction
      • Create a Public App
      • Generate an Access Token
  • API Methods
    • Me
      • Retrieve basic profile info
    • Lnks
      • Retrieve list of the current Lnks in your account
        GET
      • Create a new Lnk
        POST
      • Delete an existing Lnk
        POST
    • Groups
      • Retrieve list of the current Lnk Groups in your account
  1. Lnks

Create a new Lnk

POST
https://lnk.bio/oauth/v1/lnk/add
Publish a new Lnk on your public Lnk.bio profile. The Lnk is immediately posted and will appear on top of any existing Lnk.

Request

Authorization
Add the parameter
Authorization
to Headers
,whose value is to concatenate the Token after the Bearer.
Example:
Authorization: Bearer ********************
Body Params application/x-www-form-urlencoded
title
string 
required
link
string 
required
image
string 
optional
group_id
integer 
optional

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://lnk.bio/oauth/v1/lnk/add' \
--data-urlencode 'title=' \
--data-urlencode 'link='

Responses

🟢200Confirmation of the new Lnk creation
application/json
Body
status
boolean 
optional
Example:
true
errors
array[string]
optional
data
object 
optional
id
integer 
optional
Example:
12345
url
string 
optional
Example:
https://lnk.bio/
Example
{
  "status": true,
  "errors": [
    null
  ],
  "data": {
    "id": 12345,
    "url": "https://lnk.bio/"
  }
}
🟠401Not authenticated
Previous
Retrieve list of the current Lnks in your account
Next
Delete an existing Lnk
Built with