API endpoint:
https://app.lnkby.com/api/v1/spaces
Request example:
curl --location --request GET 'https://app.lnkby.com/api/v1/spaces' \
--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://app.lnkby.com/api/v1/spaces/{id}
Request example:
curl --location --request GET 'https://app.lnkby.com/api/v1/spaces/{id}' \ --header 'Accept: application/json' \ --header 'Authorization: Bearer {api_key}'
API endpoint:
https://app.lnkby.com/api/v1/spaces
Request example:
curl --location --request POST 'https://app.lnkby.com/api/v1/spaces' \ --header 'Content-Type: application/x-www-form-urlencoded' \ --header 'Authorization: Bearer {api_key}' \ --data-urlencode 'name={name}'
name
color
1
, 2
, 3
, 4
, 5
, 6
. Defaults to: 1
.API endpoint:
https://app.lnkby.com/api/v1/spaces/{id}
Request example:
curl --location --request PUT 'https://app.lnkby.com/api/v1/spaces/{id}' \ --header 'Content-Type: application/x-www-form-urlencoded' \ --header 'Authorization: Bearer {api_key}'
name
color
1
, 2
, 3
, 4
, 5
, 6
.API endpoint:
https://app.lnkby.com/api/v1/spaces/{id}
Request example:
curl --location --request DELETE 'https://app.lnkby.com/api/v1/spaces/{id}' \ --header 'Authorization: Bearer {api_key}'