Bağlantılar
GET https://tistos.com/api/links/
curl --request GET \
--url 'https://tistos.com/api/links/' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://tistos.com/api/links/' \
--header 'Authorization: Bearer {api_key}' \
Parametreler | Ayrıntılar | Açıklama |
---|---|---|
page | Opsiyonel Tam sayı | Sonuç almak istediğiniz sayfa numarası. Varsayılan 1 'dir. |
results_per_page | Opsiyonel Tam sayı | Sayfa başına kaç sonuç istediğiniz. İzin verilen değerler: 10 , 25 , 50 , 100 , 250 , 500 , 1000 . Varsayılan olarak 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, "datetime": "2025-10-16 11:13:17", } ], "meta": { "page": 1, "results_per_page": 25, "total": 1, "total_pages": 1 }, "links": { "first": "https://tistos.com/api/links?page=1", "last": "https://tistos.com/api/links?page=1", "next": null, "prev": null, "self": "https://tistos.com/api/links?page=1" } }
GET https://tistos.com/api/links/{link_id}
curl --request GET \
--url 'https://tistos.com/api/links/{link_id}' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://tistos.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, "datetime": "2025-10-16 11:13:17", } }
POST https://tistos.com/api/links
Parametreler | Ayrıntılar | Açıklama |
---|---|---|
type | Opsiyonel Dize | link |
location_url | Gerekli Dize | Hedefin URL'si.Ne zaman mevcut: is_bulk = 0 |
location_urls | Gerekli Dize | Hedefin URL'si.Ne zaman mevcut: is_bulk = 1 |
url | Opsiyonel Dize | Oluşturulan bağlantının URL takma adı. Rastgele bir tane oluşturmak için boş bırakın.Ne zaman mevcut: is_bulk = 0 |
is_bulk | Opsiyonel Boolean | |
domain_id | Opsiyonel Tam sayı | - |
project_id | Opsiyonel Tam sayı | - |
pixels_ids | Opsiyonel Dizi Tam sayı | - |
email_reports | Opsiyonel Dizi | Bildirim işleyici kimlikleri |
schedule | Opsiyonel Boolean | - |
start_date | Opsiyonel Dize | Ne zaman mevcut: schedule = true |
end_date | Opsiyonel Dize | Ne zaman mevcut: schedule = true |
clicks_limit | Opsiyonel Tam sayı | - |
expiration_url | Opsiyonel Dize | - |
sensitive_content | Opsiyonel Boolean | - |
http_status_code | Opsiyonel Tam sayı | İzin verilen değerler: 301 , 302 , 307 , 308 |
app_linking_is_enabled | Opsiyonel Boolean | - |
cloaking_is_enabled | Opsiyonel Boolean | - |
cloaking_title | Opsiyonel Dize | - |
cloaking_meta_description | Opsiyonel Dize | - |
cloaking_custom_js | Opsiyonel Dize | - |
cloaking_favicon | Opsiyonel Dosya | - |
cloaking_opengraph | Opsiyonel Dosya | - |
password | Opsiyonel Dize | - |
forward_query_parameters_is_enabled | Opsiyonel Boolean | - |
utm_source | Opsiyonel Dize | - |
utm_medium | Opsiyonel Dize | - |
utm_campaign | Opsiyonel Dize | - |
targeting_type | Opsiyonel Dize | continent_code , country_code , device_type , browser_language , rotation , os_name , browser_name |
targeting_continent_code_key[index] | Opsiyonel Dize | Ne zaman mevcut: targeting_type = continent_code |
targeting_continent_code_value[index] | Opsiyonel Dize | Ne zaman mevcut: targeting_type = continent_code |
targeting_country_code_key[index] | Opsiyonel Dize | Ne zaman mevcut: targeting_type = country_code |
targeting_country_code_value[index] | Opsiyonel Dize | Ne zaman mevcut: targeting_type = country_code |
targeting_city_name_key[index] | Opsiyonel Dize | Ne zaman mevcut: targeting_type = city_name |
targeting_city_name_value[index] | Opsiyonel Dize | Ne zaman mevcut: targeting_type = city_name |
targeting_device_type_key[index] | Opsiyonel Dize | Ne zaman mevcut: targeting_type = device_type |
targeting_device_type_value[index] | Opsiyonel Dize | Ne zaman mevcut: targeting_type = device_type |
targeting_browser_language_key[index] | Opsiyonel Dize | Ne zaman mevcut: targeting_type = browser_language |
targeting_browser_language_value[index] | Opsiyonel Dize | Ne zaman mevcut: targeting_type = browser_language |
targeting_rotation_key[index] | Opsiyonel Dize | Ne zaman mevcut: targeting_type = rotation |
targeting_rotation_value[index] | Opsiyonel Dize | Ne zaman mevcut: targeting_type = rotation |
targeting_os_name_key[index] | Opsiyonel Dize | Ne zaman mevcut: targeting_type = os_name |
targeting_os_name_value[index] | Opsiyonel Dize | Ne zaman mevcut: targeting_type = os_name |
targeting_browser_name_key[index] | Opsiyonel Dize | Ne zaman mevcut: targeting_type = browser_name |
targeting_browser_name_value[index] | Opsiyonel Dize | Ne zaman mevcut: targeting_type = browser_name |
curl --request POST \
--url 'https://tistos.com/api/links' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'url=example' \
--form 'location_url=https://tistos.com/' \
--url 'https://tistos.com/api/links' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'url=example' \
--form 'location_url=https://tistos.com/' \
{ "data": { "id": 1 } }
POST https://tistos.com/api/links/{link_id}
Parametreler | Ayrıntılar | Açıklama |
---|---|---|
location_url | Opsiyonel Dize | Hedefin URL'si. |
url | Opsiyonel Dize | Oluşturulan bağlantının URL takma adı. Rastgele bir tane oluşturmak için boş bırakın. |
domain_id | Opsiyonel Tam sayı | - |
project_id | Opsiyonel Tam sayı | - |
pixels_ids | Opsiyonel Dizi Tam sayı | - |
email_reports | Opsiyonel Dizi | Bildirim işleyici kimlikleri |
schedule | Opsiyonel Boolean | - |
start_date | Opsiyonel Dize | Ne zaman mevcut: schedule = true |
end_date | Opsiyonel Dize | Ne zaman mevcut: schedule = true |
clicks_limit | Opsiyonel Tam sayı | - |
expiration_url | Opsiyonel Dize | - |
sensitive_content | Opsiyonel Boolean | - |
http_status_code | Opsiyonel Tam sayı | İzin verilen değerler: 301 , 302 , 307 , 308 |
app_linking_is_enabled | Opsiyonel Boolean | - |
cloaking_is_enabled | Opsiyonel Boolean | - |
cloaking_title | Opsiyonel Dize | - |
cloaking_meta_description | Opsiyonel Dize | - |
cloaking_custom_js | Opsiyonel Dize | - |
cloaking_favicon | Opsiyonel Dosya | - |
cloaking_opengraph | Opsiyonel Dosya | - |
password | Opsiyonel Dize | - |
forward_query_parameters_is_enabled | Opsiyonel Boolean | - |
utm_source | Opsiyonel Dize | - |
utm_medium | Opsiyonel Dize | - |
utm_campaign | Opsiyonel Dize | - |
targeting_type | Opsiyonel Dize | continent_code , country_code , device_type , browser_language , rotation , os_name , browser_name |
targeting_continent_code_key[index] | Opsiyonel Dize | Ne zaman mevcut: targeting_type = continent_code |
targeting_continent_code_value[index] | Opsiyonel Dize | Ne zaman mevcut: targeting_type = continent_code |
targeting_country_code_key[index] | Opsiyonel Dize | Ne zaman mevcut: targeting_type = country_code |
targeting_country_code_value[index] | Opsiyonel Dize | Ne zaman mevcut: targeting_type = country_code |
targeting_city_name_key[index] | Opsiyonel Dize | Ne zaman mevcut: targeting_type = city_name |
targeting_city_name_value[index] | Opsiyonel Dize | Ne zaman mevcut: targeting_type = city_name |
targeting_device_type_key[index] | Opsiyonel Dize | Ne zaman mevcut: targeting_type = device_type |
targeting_device_type_value[index] | Opsiyonel Dize | Ne zaman mevcut: targeting_type = device_type |
targeting_browser_language_key[index] | Opsiyonel Dize | Ne zaman mevcut: targeting_type = browser_language |
targeting_browser_language_value[index] | Opsiyonel Dize | Ne zaman mevcut: targeting_type = browser_language |
targeting_rotation_key[index] | Opsiyonel Dize | Ne zaman mevcut: targeting_type = rotation |
targeting_rotation_value[index] | Opsiyonel Dize | Ne zaman mevcut: targeting_type = rotation |
targeting_os_name_key[index] | Opsiyonel Dize | Ne zaman mevcut: targeting_type = os_name |
targeting_os_name_value[index] | Opsiyonel Dize | Ne zaman mevcut: targeting_type = os_name |
targeting_browser_name_key[index] | Opsiyonel Dize | Ne zaman mevcut: targeting_type = browser_name |
targeting_browser_name_value[index] | Opsiyonel Dize | Ne zaman mevcut: targeting_type = browser_name |
curl --request POST \
--url 'https://tistos.com/api/links/{link_id}' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'is_enabled=0' \
--url 'https://tistos.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://tistos.com/api/links/{link_id}
curl --request DELETE \
--url 'https://tistos.com/api/links/{link_id}' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://tistos.com/api/links/{link_id}' \
--header 'Authorization: Bearer {api_key}' \