Dokumentasi API

Ini adalah dokumentasi untuk endpoint API yang tersedia, yang dibangun dengan menggunakan arsitektur REST. Semua endpoint API akan mengembalikan respons JSON dengan kode respons HTTP standar dan membutuhkan Autentikasi Bearer melalui API Key.

 

Otentikasi

Semua titik akhir API membutuhkan kunci API yang dikirim melalui metode Bearer Authentication.

Authorization: Bearer {api_key}
curl --request GET \
--url 'https://link.bio.br/api/{endpoint}' \
--header 'Authorization: Bearer {api_key}' \

Errors

Our API uses conventional HTTP status codes to indicate the success or failure of a request.

{
    "errors": [
        {
            "title": "Anda tidak memiliki akses ke API.",
            "status": 401
        }
    ]
}
200 Request completed successfully
400 Bad request - Required parameters are missing or invalid
401 Unauthorized - API key is missing or invalid
404 The requested resource was not found
429 Too many requests - Rate limit exceeded
500 Internal server error - this means there is a problem on our end
All API endpoint results work with the UTC timezone unless specified otherwise.
User
Links
Links statistics
Proyek
Pixel
Splash pages
QR codes
Data
Notification handlers
Domain kustom
Tim-tim saya
Team members
Teams' member
Pembayaran akun
Catatan akun