Skip to main content

Using Your API Token

To use any of our API's, simply include your token in the Authorization header of your requests.

See examples below.

Curl Example

curl --request GET \
--url 'https://{API_DOMAIN}.api.lworks.io/api/v1/{ENDPOINT}' \
--header 'Authorization: your_api_access_token'

Javascript Example

const response = await fetch(
"https://{API_DOMAIN}.api.lworks.io/api/v1/{ENDPOINT}",
{
method: "GET",
headers: {
Authorization: "your_api_access_token",
},
}
);