Skip to content
Last updated

Call Structure

Your call to the Lytx API should follow this structure:

curl --request {httpMethod} 'https://{baseUrl}/{apiVersion}/{apiEndpoint}?{queryString}'
--header 'Authorization: Bearer {token}'

The API call includes the following components:

ComponentExampleType
httpMethodGET, PUT, POST, DELETEmethod
baseUrlhttps://api.lytx.comurl
apiVersionv1url
apiEndpointdevicesurl
queryStringstatus=activerequest line
token23mRzvuTKPc...header