API endpoint:
https://smurl.fr/api/v1/qrcodes
Request example:
curl --location --request GET 'https://smurl.fr/api/v1/qrcodes' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {api_key}'
search
search_by
name
for Name. Defaults to: name
.sort_by
id
for Date created, name
for Name. Defaults to: id
.sort
desc
for Descending, asc
for Ascending. Defaults to: desc
.per_page
10
, 25
, 50
, 100
. Defaults to: 10
.API endpoint:
https://smurl.fr/api/v1/qrcodes/{id}
Request example:
curl --location --request GET 'https://smurl.fr/api/v1/qrcodes/{id}' \ --header 'Accept: application/json' \ --header 'Authorization: Bearer {api_key}'
API endpoint:
https://smurl.fr/api/v1/qrcodes
Request example:
curl --location --request POST 'https://smurl.fr/api/v1/qrcodes' \ --header 'Content-Type: application/x-www-form-urlencoded' \ --header 'Authorization: Bearer {api_key}' \ --data-urlencode 'name={name}'
name
link_id
color
#xxxxxx
. Defaults to: #000000
.background
#xxxxxx
. Defaults to: #FFFFFF
.density
L
, M
, Q
, H
. Defaults to: H
.API endpoint:
https://smurl.fr/api/v1/qrcodes/{id}
Request example:
curl --location --request PUT 'https://smurl.fr/api/v1/qrcodes/{id}' \ --header 'Content-Type: application/x-www-form-urlencoded' \ --header 'Authorization: Bearer {api_key}'
name
link_id
color
#xxxxxx
. Defaults to: #000000
.background
#xxxxxx
. Defaults to: #FFFFFF
.density
L
, M
, Q
, H
. Defaults to: H
.API endpoint:
https://smurl.fr/api/v1/qrcodes/{id}
Request example:
curl --location --request DELETE 'https://smurl.fr/api/v1/qrcodes/{id}' \ --header 'Authorization: Bearer {api_key}'