Skip to content

Features

Get feature

Request

Retrieves a feature by feature code based on the current authorised users organisation context

Path
featureCodestringrequired

The code of the feature

const featureCode = 'YOUR_featureCode_PARAMETER';
const resp = await fetch(
  `https://api-sandbox.lawvu.com/account-apis/v1/features/${featureCode}`,
  {method: 'GET'}
);

const data = await resp.text();
console.log(data);

Responses

OK

Body
isEnabledboolean
featureCodestring or null
Response
{
  "isEnabled": true,
  "featureCode": "string"
}