站标志
  • 物链接
  • 短链接
  • 定价
  • 登录
  • 注册
  1. 页
  2. API 文档
  3. 接

接

检索部

GET https://wlinky.com/api/links/
curl --request GET \
--url 'https://wlinky.com/api/links/' \
--header 'Authorization: Bearer {api_key}' \
参数 详情 描述
page 可选 整 您想要结页码。默为1
results_per_page 可选 整 您希望每显示多少结果。允的为10 , 25 , 50 , 100 , 250 , 500 , 1000。默认值为25。
{ "data": [ { "id": 1, "project_id": null, "domain_id": 0, "type": "link", "url": "example", "location_url": "https://example.com/", "settings": { "password": null, "sensitive_content": false }, "clicks": 10, "order": 0, "start_date": null, "end_date": null, "date": "2020-11-15 12:00:00" } ], "meta": { "page": 1, "results_per_page": 25, "total": 1, "total_pages": 1 }, "links": { "first": "https://wlinky.com/api/links?&page=1", "last": "https://wlinky.com/api/links?&page=1", "next": null, "prev": null, "self": "https://wlinky.com/api/links?&page=1" } }

检一个

GET https://wlinky.com/api/links/{link_id}
curl --request GET \
--url 'https://wlinky.com/api/links/{link_id}' \
--header 'Authorization: Bearer {api_key}' \
{ "data": { "id": 1, "project_id": null, "domain_id": 0, "type": "link", "url": "example", "location_url": "https://example.com/", "settings": { "password": null, "sensitive_content": false }, "clicks": 10, "order": 0, "start_date": null, "end_date": null, "date": "2020-11-15 12:00:00" } }

创建

POST https://wlinky.com/api/links
参数 详情 描述
type 可选 字串 link
location_url 必需 字串 目标。
url 可选 字串 生链的URL别名。留空以随机生成
domain_id 可选 整 -
project_id 可选 整 -
pixels_ids 可选 数组 整 -
schedule 可选 布值 -
start_date 可选 字串 可用时间:schedule = true
end_date 可选 字串 可用时间:schedule = true
clicks_limit 可选 整 -
expiration_url 可选 字串 -
sensitive_content 可选 布值 -
http_status_code 可选 整 允许:301, 302, 307, 308
app_linking_is_enabled 可选 布值 -
cloaking_is_enabled 可选 布值 -
cloaking_title 可选 字串 -
cloaking_favicon 可选 件 -
cloaking_opengraph 可选 件 -
password 可选 字串 -
forward_query_parameters_is_enabled 可选 布值 -
utm_source 可选 missing_translation: api_documentation.strings -
utm_medium 可选 missing_translation: api_documentation.strings -
utm_campaign 可选 missing_translation: api_documentation.strings -
targeting_type 可选 字串 continent_code , country_code , device_type , browser_language , rotation , os_name , browser_name
targeting_continent_code_key[index] 可选 字串 (targeting_type=continent_code)
targeting_continent_code_value[index] 可选 字串 (targeting_type=continent_code)
targeting_country_code_key[index] 可选 字串 (targeting_type=country_code)
targeting_country_code_value[index] 可选 字串 (targeting_type=country_code)
targeting_city_name_key[index] 可选 字串 (targeting_type=city_name)
targeting_city_name_value[index] 可选 字串 (targeting_type=city_name)
targeting_device_type_key[index] 可选 字串 (targeting_type=device_type)
targeting_device_type_value[index] 可选 字串 (targeting_type=device_type)
targeting_browser_language_key[index] 可选 字串 (targeting_type=browser_language)
targeting_browser_language_value[index] 可选 字串 (targeting_type=browser_language)
targeting_rotation_key[index] 可选 字串 (targeting_type=rotation)
targeting_rotation_value[index] 可选 字串 (targeting_type=rotation)
targeting_os_name_key[index] 可选 字串 (targeting_type=os_name)
targeting_os_name_value[index] 可选 字串 (targeting_type=os_name)
targeting_browser_name_key[index] 可选 字串 (targeting_type=browser_name)
targeting_browser_name_value[index] 可选 字串 (targeting_type=browser_name)
curl --request POST \
--url 'https://wlinky.com/api/links' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'url=example' \
--form 'location_url=https://wlinky.com/' \
{ "data": { "id": 1 } }

新

POST https://wlinky.com/api/links/{link_id}
参数 详情 描述
location_url 可选 字串 目标。
url 可选 字串 生链的URL别名。留空以随机生成
domain_id 可选 整 -
project_id 可选 整 -
pixels_ids 可选 数组 整 -
schedule 可选 布值 -
start_date 可选 字串 可用时间:schedule = true
end_date 可选 字串 可用时间:schedule = true
clicks_limit 可选 整 -
expiration_url 可选 字串 -
sensitive_content 可选 布值 -
http_status_code 可选 整 允许:301, 302, 307, 308
app_linking_is_enabled 可选 布值 -
cloaking_is_enabled 可选 布值 -
cloaking_title 可选 字串 -
cloaking_favicon 可选 件 -
cloaking_opengraph 可选 件 -
password 可选 字串 -
forward_query_parameters_is_enabled 可选 布值 -
utm_source 可选 missing_translation: api_documentation.strings -
utm_medium 可选 missing_translation: api_documentation.strings -
utm_campaign 可选 missing_translation: api_documentation.strings -
targeting_type 可选 字串 continent_code , country_code , device_type , browser_language , rotation , os_name , browser_name
targeting_continent_code_key[index] 可选 字串 (targeting_type=continent_code)
targeting_continent_code_value[index] 可选 字串 (targeting_type=continent_code)
targeting_country_code_key[index] 可选 字串 (targeting_type=country_code)
targeting_country_code_value[index] 可选 字串 (targeting_type=country_code)
targeting_city_name_key[index] 可选 字串 (targeting_type=city_name)
targeting_city_name_value[index] 可选 字串 (targeting_type=city_name)
targeting_device_type_key[index] 可选 字串 (targeting_type=device_type)
targeting_device_type_value[index] 可选 字串 (targeting_type=device_type)
targeting_browser_language_key[index] 可选 字串 (targeting_type=browser_language)
targeting_browser_language_value[index] 可选 字串 (targeting_type=browser_language)
targeting_rotation_key[index] 可选 字串 (targeting_type=rotation)
targeting_rotation_value[index] 可选 字串 (targeting_type=rotation)
targeting_os_name_key[index] 可选 字串 (targeting_type=os_name)
targeting_os_name_value[index] 可选 字串 (targeting_type=os_name)
targeting_browser_name_key[index] 可选 字串 (targeting_type=browser_name)
targeting_browser_name_value[index] 可选 字串 (targeting_type=browser_name)
curl --request POST \
--url 'https://wlinky.com/api/links/{link_id}' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'is_enabled=0' \
{ "data": { "id": 1 } }

删除

DELETE https://wlinky.com/api/links/{link_id}
curl --request DELETE \
--url 'https://wlinky.com/api/links/{link_id}' \
--header 'Authorization: Bearer {api_key}' \
站标志
版权所有 © 2025 Wlinky.
🇩🇪 Deutsch 🇫🇷 French 🇳🇱 Nederlands 🇵🇹 Portuguese 🇧🇷 Português do Brasil 🇷🇺 Russian 🇪🇸 Spanish 🇹🇷 Turkish 🇬🇧 english 🇸🇦 العربية 🇯🇵 日本語 简体中文 🇰🇷 한국어
  • 博客
  • 用工具
  • 附构
  • 联系
  • Cookies
  • 报接
  • Privacy policy
  • Terms of Service
  • Abuse Policy

公名称:
VEGOOGIN LTD
公司编:
16034329
导:
Michael M. Kodirov
地址:
3rd Floor 86-90 Paul Street London EC2A 4NE
电子件:
[email protected]