# 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:

| Component | Example | Type |
|  --- | --- | --- |
| httpMethod | GET, PUT, POST, DELETE | method |
| baseUrl | https://api.lytx.com | url |
| apiVersion | v1 | url |
| apiEndpoint | devices | url |
| queryString | status=active | request line |
| token | 23mRzvuTKPc... | header |