Documentation Index
Fetch the complete documentation index at: https://docs.taap.it/llms.txt
Use this file to discover all available pages before exploring further.
Create a new deeplink with custom codes, domains, password protection, expiration dates, and tracking features.
Request:
curl -X POST 'https://api.taap.it/v1/links' \
-H 'Authorization: Bearer taapit_your_api_key_here' \
-H 'Content-Type: application/json' \
-d '{
"original_url": "https://example.com/very-long-url-that-needs-shortening"
}'
Response:
{
"id": "link_987654321",
"created_at": "2024-01-15T10:30:00Z",
"updated_at": "2024-01-15T10:30:00Z",
"project_id": "project_123456789",
"domain_id": "domain_987654321",
"pixel_id": "pixel_456789123",
"original_url": "https://example.com/very-long-url-that-needs-shortening",
"name": "My Marketing Link",
"description": "Link for summer campaign",
"code": "summer2024",
"app": "MyApp",
"app_logo": "https://example.com/logo.png",
"android_link": "myapp://open?url=https://example.com",
"ios_link": "myapp://open?url=https://example.com",
"windows_link": "ms-windows-store://pdp/?productid=9NBLGGH123456",
"macos_link": "macappstore://itunes.apple.com/app/myapp/id123456789",
"whatsapp_message": "Check out this amazing link!",
"metadata": {
"title": "Amazing Product",
"description": "Check out our new product",
"favicon": "https://example.com/favicon.ico",
"social_image": "https://example.com/social-image.jpg"
},
"qr_code_options": {
"size": 200,
"color": "#000000",
"background_color": "#ffffff",
"logo": "https://example.com/logo.png",
"logo_size": 50,
"error_correction_level": "M"
},
"utm_name": "summer_campaign",
"utm_source": "email",
"utm_medium": "newsletter",
"utm_campaign": "summer2024",
"utm_term": "marketing",
"utm_content": "cta_button",
"utm_template_id": "template_123",
"referrer": "https://example.com",
"password": "secure123",
"password_description": "Enter password to access link",
"excluded_countries": [
{
"code": "US",
"label": "United States",
"phone": "+1",
"suggested": true,
"lang": "en",
"continent": "North America"
}
],
"has_public_stat": true,
"is_archived": false,
"expiration_date": "2024-12-31T23:59:59Z",
"expiration_click_count": 1000,
"clicks": 0
}
Authorization
Bearer token for API authentication. Format: Bearer YOUR_API_KEY
Request Parameters
The URL to be shortened. Supports http, https, mailto, tel, sms, whatsapp, tg, skype schemes.
Response Fields
Core Fields
Unique identifier for the created link
ISO 8601 timestamp when the link was created
ISO 8601 timestamp when the link was last updated
ID of the associated project
ID of the custom domain used
ID of the associated tracking pixel
Link Content
The original URL that was shortened
The short code used in the URL
Deep Linking
Name of the mobile app for deep linking
URL to the app logo image
Pre-filled message for WhatsApp sharing
Link metadata for website previews
Page title for link previews
Page description for link previews
URL to social media preview image
QR code generation options
QR code color (hex format)
QR code background color (hex format)
URL to logo image embedded in QR code
Error correction level (L, M, Q, H)
UTM Parameters
Security & Access
Password to protect the link
Description shown when password is required
Array of countries excluded from accessing the linkShow Excluded country properties
Country code (ISO 3166-1 alpha-2)
Whether this country is suggested for exclusion
Whether link statistics are publicly accessible
Status Flags
Whether the link is archived
Expiration
ISO 8601 datetime when link expires
Maximum number of clicks before link expires
Analytics
Error Responses
{
"detail": "Invalid URL format"
}