API endpoint:
https://app.encurtarlink.net/api/v1/links
Request example:
curl --location --request GET 'https://app.encurtarlink.net/api/v1/links' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {api_key}'
searchsearch_bytitle for Título, alias for Personalizar alias, url for URL. Padrões para: title.status0 for Todos, 1 for Ativo, 2 for Expirado, 3 for Disativado. Padrões para: 0.space_iddomain_idpixel_idsort_byid for Data criada, clicks for Cliques, title for Título, alias for Personalizar alias, url for URL. Padrões para: id.sortdesc for Descendente, asc for Ascendente. Padrões para: desc.per_page10, 25, 50, 100. Padrões para: 10.API endpoint:
https://app.encurtarlink.net/api/v1/links/{id}
Request example:
curl --location --request GET 'https://app.encurtarlink.net/api/v1/links/{id}' \ --header 'Accept: application/json' \ --header 'Authorization: Bearer {api_key}'
API endpoint:
https://app.encurtarlink.net/api/v1/links
Request example:
curl --location --request POST 'https://app.encurtarlink.net/api/v1/links' \ --header 'Content-Type: application/x-www-form-urlencoded' \ --header 'Authorization: Bearer {api_key}' \ --data-urlencode 'url={url}' \ --data-urlencode 'domain={id}'
urldomain_idaliasspace_idpixel_ids[]redirect_passwordsensitive_content0 for Não, 1 for Sim. Padrões para: 0.privacy0 for Publica, 1 for Privada, 2 for Senha. Padrões para: 0.passwordprivacy field set to 2.active_period_start_atY-m-d H:i format.active_period_end_atY-m-d H:i format.clicks_limitexpiration_urltargets_typecontinents for Continents, countries for Countries, operating_systems for Operating systems, browsers for Browsers, languages for Languages, devices for Devices, rotations for Rotations.targets[index][key]targets_type=country, the value must be in ISO 3166-1 alpha-2 format.targets_type=operating_systems, the possible values are iOS, Android, Windows, OS X, Linux, Ubuntu, Chrome OS.targets_type=browsers, the possible values are: Chrome, Chromium, Firefox, Firefox Mobile, Edge, Internet Explorer, Mobile Internet Explorer, Vivaldi, Brave, Safari, Opera, Opera Mini, Opera Mobile, Opera Touch, Yandex Browser, UC Browser, Samsung Internet, QQ Browser, BlackBerry Browser, Maxtho.targets_type=devices, the possible values are: Desktop, Mobile, Tablet, Watch, Television.targets_type=languages, the value must be in ISO 639-1 alpha-2 format.targets_type=continents, the possible values are: AF for Africa, AN for Antarctica, AS for Asia, EU for Europe, NA for North America, OC for Oceania, SA for South America.targets[index][value]API endpoint:
https://app.encurtarlink.net/api/v1/links/{id}
Request example:
curl --location --request PUT 'https://app.encurtarlink.net/api/v1/links/{id}' \ --header 'Content-Type: application/x-www-form-urlencoded' \ --header 'Authorization: Bearer {api_key}' \ --data-urlencode 'url={url}'
urlaliasspace_idpixel_ids[]redirect_passwordsensitive_content0 for Não, 1 for Sim.privacy0 for Publica, 1 for Privada, 2 for Senha.passwordprivacy field set to 2.active_period_start_atY-m-d H:i format.active_period_end_atY-m-d H:i format.clicks_limitexpiration_urltargets_typecontinents for Continents, countries for Countries, operating_systems for Operating systems, browsers for Browsers, languages for Languages, devices for Devices, rotations for Rotations.targets[index][key]targets_type=country, the value must be in ISO 3166-1 alpha-2 format.targets_type=operating_systems, the possible values are iOS, Android, Windows, OS X, Linux, Ubuntu, Chrome OS.targets_type=browsers, the possible values are: Chrome, Chromium, Firefox, Firefox Mobile, Edge, Internet Explorer, Mobile Internet Explorer, Vivaldi, Brave, Safari, Opera, Opera Mini, Opera Mobile, Opera Touch, Yandex Browser, UC Browser, Samsung Internet, QQ Browser, BlackBerry Browser, Maxtho.targets_type=devices, the possible values are: Desktop, Mobile, Tablet, Watch, Television.targets_type=languages, the value must be in ISO 639-1 alpha-2 format.targets_type=continents, the possible values are: AF for Africa, AN for Antarctica, AS for Asia, EU for Europe, NA for North America, OC for Oceania, SA for South America.targets[index][value]API endpoint:
https://app.encurtarlink.net/api/v1/links/{id}
Request example:
curl --location --request DELETE 'https://app.encurtarlink.net/api/v1/links/{id}' \ --header 'Authorization: Bearer {api_key}'