Skip to main content
GET

Request

string
required
Your project API key: b2co_your_api_key
number
default:"1"
Page number for pagination (starts from 1)
number
default:"50"
Number of links per page (maximum 100)

Response

boolean
Indicates if the request was successful
array
Array of link objects with complete payload structure
string
Unique identifier for the link
string
Unique short code for the link
string
Complete short URL (e.g., https://b2co.link/abc123)
string
Display name of the link
string
Link status: ACTIVE, PAUSED, or EXPIRED
object
Complete link configuration payload
Primary destination URL
object
Android-specific configuration (optional)
object
iOS-specific configuration (optional)
object
Social media preview configuration (optional)
string
Unique identifier for the link
string
Unique short code for the link
string
Complete short URL (e.g., https://b2co.link/abc123)
string
Display name of the link
string
Link status: ACTIVE, PAUSED, or EXPIRED
string
QR code URL for the link
object
Complete link configuration payload
Primary destination URL
object
Android-specific configuration (optional)
object
iOS-specific configuration (optional)
object
Social media preview configuration (optional)
object
UTM campaign parameters (optional)
string
ISO 8601 timestamp when created
string
ISO 8601 timestamp when expires (if set)
number
Total number of clicks on this link
string
ID of the project this link belongs to
string
ID of the user who created the link
string
ISO 8601 timestamp when last updated
object
Pagination metadata
number
Current page number
number
Number of items per page
number
Total number of links
number
Total number of pages

Error Codes

string
Invalid query parameters provided
string
API key is missing or invalid
string
Too many requests, please try again later