Cyswllt
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}' \
| Paramedrau | Manylion | Disgrifiad |
|---|---|---|
| search | Dewisol String | Y llinell chwilio. |
| search_by | Dewisol String | Pa faes ydych chi'n chwilio yn ôl. Mae'r gwerthoedd a ganiateir yn: url, location_url. |
| is_enabled | Dewisol Booleaidd | |
| project_id | Dewisol Cyfanrif | |
| domain_id | Dewisol Cyfanrif | |
| type | Dewisol String |
biolink, link, file, vcard, event, static |
| datetime_field | Dewisol String | Gwerthoedd a ganiateir: datetime, last_datetime |
| datetime_start | Dewisol String | Hidlo canlyniadau gan ddechrau o'r dyddiad a'r amser hwn. Fformat Y-m-d H:i:s. |
| datetime_end | Dewisol String | Hidlo canlyniadau hyd at y dyddiad a'r amser hwn. Fformat Y-m-d H:i:s. |
| order_by | Dewisol String | Pa faes i drefnu'r canlyniadau yn ôl. Mae'r gwerthoedd a ganiateir yn: link_id, datetime, last_datetime, clicks, url. |
| order_type | Dewisol String | Trefniant y canlyniadau. Mae'r gwerthoedd a ganiateir yn: ASC ar gyfer trefniant cynyddol, a DESC ar gyfer trefniant isel. |
| page | Dewisol Cyfanrif | Y rhif tudalen y dymunwch gael canlyniadau ohono. Mae'n dod yn ddiofyn i 1. |
| results_per_page | Dewisol Cyfanrif | Faint o ganlyniadau ydych chi am bob tudalen. Mae'r gwerthoedd a ganiateir yn: 10, 25, 50, 100, 250, 500, 1000. Mae'r rhagosodiad yn 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": "2026-07-18 19:27:54",
}
],
"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": "2026-07-18 19:27:54",
}
}
POST https://tistos.com/api/links
| Paramedrau | Manylion | Disgrifiad |
|---|---|---|
| type | Dewisol String | link |
| location_url | Angenrheidiol String | URL y cyrchfan.Ar gael pan: is_bulk = 0 |
| location_urls | Angenrheidiol String | URL y cyrchfan.Ar gael pan: is_bulk = 1 |
| url | Dewisol String | Alias URL y ddolen a gynhyrchwyd. Byddwch yn gadael yn wag i greu un ar hap.Ar gael pan: is_bulk = 0 |
| is_bulk | Dewisol Booleaidd | |
| domain_id | Dewisol Cyfanrif | - |
| project_id | Dewisol Cyfanrif | - |
| pixels_ids | Dewisol Arolygiad Cyfanrif | - |
| email_reports | Dewisol Arolygiad | ID triniwr hysbysiadau |
| schedule | Dewisol Booleaidd | - |
| start_date | Dewisol String | Ar gael pan: schedule = true |
| end_date | Dewisol String | Ar gael pan: schedule = true |
| clicks_limit | Dewisol Cyfanrif | - |
| expiration_url | Dewisol String | - |
| sensitive_content | Dewisol Booleaidd | - |
| http_status_code | Dewisol Cyfanrif | Gwerthoedd a ganiateir: 301, 302, 307, 308 |
| app_linking_is_enabled | Dewisol Booleaidd | - |
| cloaking_is_enabled | Dewisol Booleaidd | - |
| cloaking_title | Dewisol String | - |
| cloaking_meta_description | Dewisol String | - |
| cloaking_custom_js | Dewisol String | - |
| cloaking_favicon | Dewisol Ffeil | - |
| cloaking_opengraph | Dewisol Ffeil | - |
| password | Dewisol String | - |
| forward_query_parameters_is_enabled | Dewisol Booleaidd | - |
| seo_block | Dewisol Booleaidd | - |
| utm_source | Dewisol String | - |
| utm_medium | Dewisol String | - |
| utm_campaign | Dewisol String | - |
| targeting_type | Dewisol String | continent_code, country_code, device_type, browser_language, rotation, os_name, browser_name |
| targeting_continent_code_key[index] | Dewisol String | Ar gael pan: targeting_type = continent_code |
| targeting_continent_code_value[index] | Dewisol String | Ar gael pan: targeting_type = continent_code |
| targeting_country_code_key[index] | Dewisol String | Ar gael pan: targeting_type = country_code |
| targeting_country_code_value[index] | Dewisol String | Ar gael pan: targeting_type = country_code |
| targeting_city_name_key[index] | Dewisol String | Ar gael pan: targeting_type = city_name |
| targeting_city_name_value[index] | Dewisol String | Ar gael pan: targeting_type = city_name |
| targeting_device_type_key[index] | Dewisol String | Ar gael pan: targeting_type = device_type |
| targeting_device_type_value[index] | Dewisol String | Ar gael pan: targeting_type = device_type |
| targeting_browser_language_key[index] | Dewisol String | Ar gael pan: targeting_type = browser_language |
| targeting_browser_language_value[index] | Dewisol String | Ar gael pan: targeting_type = browser_language |
| targeting_rotation_key[index] | Dewisol String | Ar gael pan: targeting_type = rotation |
| targeting_rotation_value[index] | Dewisol String | Ar gael pan: targeting_type = rotation |
| targeting_os_name_key[index] | Dewisol String | Ar gael pan: targeting_type = os_name |
| targeting_os_name_value[index] | Dewisol String | Ar gael pan: targeting_type = os_name |
| targeting_browser_name_key[index] | Dewisol String | Ar gael pan: targeting_type = browser_name |
| targeting_browser_name_value[index] | Dewisol String | Ar gael pan: 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}
| Paramedrau | Manylion | Disgrifiad |
|---|---|---|
| location_url | Dewisol String | URL y cyrchfan. |
| url | Dewisol String | Alias URL y ddolen a gynhyrchwyd. Byddwch yn gadael yn wag i greu un ar hap. |
| domain_id | Dewisol Cyfanrif | - |
| project_id | Dewisol Cyfanrif | - |
| pixels_ids | Dewisol Arolygiad Cyfanrif | - |
| email_reports | Dewisol Arolygiad | ID triniwr hysbysiadau |
| schedule | Dewisol Booleaidd | - |
| start_date | Dewisol String | Ar gael pan: schedule = true |
| end_date | Dewisol String | Ar gael pan: schedule = true |
| clicks_limit | Dewisol Cyfanrif | - |
| expiration_url | Dewisol String | - |
| sensitive_content | Dewisol Booleaidd | - |
| http_status_code | Dewisol Cyfanrif | Gwerthoedd a ganiateir: 301, 302, 307, 308 |
| app_linking_is_enabled | Dewisol Booleaidd | - |
| cloaking_is_enabled | Dewisol Booleaidd | - |
| cloaking_title | Dewisol String | - |
| cloaking_meta_description | Dewisol String | - |
| cloaking_custom_js | Dewisol String | - |
| cloaking_favicon | Dewisol Ffeil | - |
| cloaking_opengraph | Dewisol Ffeil | - |
| password | Dewisol String | - |
| forward_query_parameters_is_enabled | Dewisol Booleaidd | - |
| seo_block | Dewisol Booleaidd | - |
| utm_source | Dewisol String | - |
| utm_medium | Dewisol String | - |
| utm_campaign | Dewisol String | - |
| targeting_type | Dewisol String | continent_code, country_code, device_type, browser_language, rotation, os_name, browser_name |
| targeting_continent_code_key[index] | Dewisol String | Ar gael pan: targeting_type = continent_code |
| targeting_continent_code_value[index] | Dewisol String | Ar gael pan: targeting_type = continent_code |
| targeting_country_code_key[index] | Dewisol String | Ar gael pan: targeting_type = country_code |
| targeting_country_code_value[index] | Dewisol String | Ar gael pan: targeting_type = country_code |
| targeting_city_name_key[index] | Dewisol String | Ar gael pan: targeting_type = city_name |
| targeting_city_name_value[index] | Dewisol String | Ar gael pan: targeting_type = city_name |
| targeting_device_type_key[index] | Dewisol String | Ar gael pan: targeting_type = device_type |
| targeting_device_type_value[index] | Dewisol String | Ar gael pan: targeting_type = device_type |
| targeting_browser_language_key[index] | Dewisol String | Ar gael pan: targeting_type = browser_language |
| targeting_browser_language_value[index] | Dewisol String | Ar gael pan: targeting_type = browser_language |
| targeting_rotation_key[index] | Dewisol String | Ar gael pan: targeting_type = rotation |
| targeting_rotation_value[index] | Dewisol String | Ar gael pan: targeting_type = rotation |
| targeting_os_name_key[index] | Dewisol String | Ar gael pan: targeting_type = os_name |
| targeting_os_name_value[index] | Dewisol String | Ar gael pan: targeting_type = os_name |
| targeting_browser_name_key[index] | Dewisol String | Ar gael pan: targeting_type = browser_name |
| targeting_browser_name_value[index] | Dewisol String | Ar gael pan: targeting_type = browser_name |
| is_enabled | Dewisol Booleaidd | - |
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}' \