API endpoint:
https://instalys.com/api/v1/websites
Request example:
curl --location --request GET 'https://instalys.com/api/v1/websites' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {api_key}'
search
sort
desc
for Z-A, asc
for A-Z.per_page
10
to 100
. Defaults to: 25
.API endpoint:
https://instalys.com/api/v1/websites/{id}
Request example:
curl --location --request GET 'https://instalys.com/api/v1/websites/{id}' \ --header 'Accept: application/json' \ --header 'Authorization: Bearer {api_key}'
API endpoint:
https://instalys.com/api/v1/websites
Request example:
curl --location --request POST 'https://instalys.com/api/v1/websites' \ --header 'Content-Type: application/x-www-form-urlencoded' \ --header 'Authorization: Bearer {api_key}' \ --data-urlencode 'url={url}'
url
privacy
0
for Public, 1
for Private, 2
for Password. Defaults to: 1
.password
privacy
set to 2
.email
0
for Disabled, 1
for Enabled. Defaults to: 0
.exclude_bots
0
for Disabled, 1
for Enabled. Defaults to: 1
.exclude_params
exclude_ips
API endpoint:
https://instalys.com/api/v1/websites/{id}
Request example:
curl --location --request PUT 'https://instalys.com/api/v1/websites/{id}' \ --header 'Content-Type: application/x-www-form-urlencoded' \ --header 'Authorization: Bearer {api_key}' \ --data-urlencode 'url={url}'
privacy
0
for Public, 1
for Private, 2
for Password.password
privacy
set to 2
.email
0
for Disabled, 1
for Enabled.exclude_bots
0
for Disabled, 1
for Enabled.exclude_params
exclude_ips
API endpoint:
https://instalys.com/websites/{id}/destroy
Request example:
curl --location --request DELETE 'https://instalys.com/websites/{id}/destroy' \ --header 'Authorization: Bearer {api_key}'