Lnk.Bio
  1. Me
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
        GET
    • Lnks
      • Retrieve list of the current Lnks in your account
      • Create a new Lnk
      • Delete an existing Lnk
    • Groups
      • Retrieve list of the current Lnk Groups in your account
  1. Me

Retrieve basic profile info

GET
/me
Returns basic information about the user who authenticated

Request

Authorization
Add the parameter
Authorization
to Headers
,whose value is to concatenate the Token after the Bearer.
Example:
Authorization: Bearer ********************

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 GET 'https://lnk.bio/oauth/v1/me'

Responses

🟢200Success
application/json
Body
status
boolean 
optional
Example:
true
errors
array[string]
optional
data
object 
optional
username
string 
optional
Example:
@username
url
string 
optional
Example:
https://lnk.bio/username
profile_pic
string 
optional
Example:
https://cdn2.lnk.bi/profilepics/3159524853_20231206705.png
Example
{
  "status": true,
  "errors": [
    null
  ],
  "data": {
    "username": "@username",
    "url": "https://lnk.bio/username",
    "profile_pic": "https://cdn2.lnk.bi/profilepics/3159524853_20231206705.png"
  }
}
🟠401Not Authenticated
Modified at 2024-04-16 07:07:58
Previous
Generate an Access Token
Next
Retrieve list of the current Lnks in your account
Built with