> This page is for Developers.

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.iot.telia.lt/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.iot.telia.lt/_mcp/server.

# List event types

GET https://iot.telia.lt/api/v1/event/type

Provides the list of event\_types (lookup).

Event type `Device offline` (ID `49`) is a placeholder.
The API lists it among the event types, but the platform never sends events of this type.

Reference: https://docs.iot.telia.lt/developers/api/events/event-type-get

## Authentication

- `Authorization` header (bearer token, required) — An `auth_token` should be provided to authenticate a session. To obtain an `auth_token`, see the [`/api/v1/authenticate` **POST** request](/developers/api/authentication/authenticate).

## Response

### 200

Success

- `list of ApiV1EventTypeGetResponsesContentApplicationJsonSchemaItems`

## Errors

### 403 Forbidden Error

Your role doesn't include the permission this endpoint requires. Most endpoints return `error_code`, `error_token`, and `message`. Some return only `status_code` and `message`.

- `error_code` (integer, optional)
- `error_token` (string, optional)
- `status_code` (integer, optional)
- `message` (string, optional)

## Types

### ApiV1EventTypeGetResponsesContentApplicationJsonSchemaItems

- `id` (integer, optional)
- `description` (string, optional)

## Examples

**Response**

```json
[
  {
    "id": 0,
    "description": "Generic"
  },
  {
    "id": 1,
    "description": "Update Location"
  },
  {
    "id": 2,
    "description": "Update GPRS Location"
  },
  {
    "id": 3,
    "description": "Create PDP Context"
  },
  {
    "id": 4,
    "description": "Update PDP Context"
  },
  {
    "id": 5,
    "description": "Delete PDP Context"
  },
  {
    "id": 6,
    "description": "User authentication failed"
  },
  {
    "id": 7,
    "description": "Application authentication failed"
  },
  {
    "id": 8,
    "description": "SIM activation"
  },
  {
    "id": 9,
    "description": "SIM suspension"
  },
  {
    "id": 10,
    "description": "SIM deletion"
  },
  {
    "id": 11,
    "description": "Endpoint blocked"
  },
  {
    "id": 12,
    "description": "Organisation blocked"
  },
  {
    "id": 13,
    "description": "Support"
  },
  {
    "id": 14,
    "description": "Multi-factor Authentication"
  },
  {
    "id": 15,
    "description": "Purge location"
  },
  {
    "id": 16,
    "description": "Purge GPRS location"
  },
  {
    "id": 17,
    "description": "Self-Signup"
  },
  {
    "id": 18,
    "description": "Threshold reached"
  },
  {
    "id": 19,
    "description": "Quota used up"
  },
  {
    "id": 20,
    "description": "SMS quota threshold reached"
  },
  {
    "id": 21,
    "description": "SMS quota used up"
  },
  {
    "id": 22,
    "description": "CloudConnect TGW Resource Share created"
  },
  {
    "id": 23,
    "description": "CloudConnect TGW available"
  },
  {
    "id": 24,
    "description": "CloudConnect VPN breakout available"
  },
  {
    "id": 25,
    "description": "CloudConnect TGW breakout terminated"
  },
  {
    "id": 26,
    "description": "CloudConnect VPN breakout terminated"
  },
  {
    "id": 27,
    "description": "CloudConnect Connection State Changed"
  },
  {
    "id": 28,
    "description": "OpenVPN connect"
  },
  {
    "id": 29,
    "description": "OpenVPN disconnect"
  },
  {
    "id": 30,
    "description": "OpenVPN authentication"
  },
  {
    "id": 31,
    "description": "Organisation updated"
  },
  {
    "id": 32,
    "description": "Billing configuration updated"
  },
  {
    "id": 33,
    "description": "Platform package updated"
  },
  {
    "id": 34,
    "description": "Data plan updated"
  },
  {
    "id": 35,
    "description": "Payment"
  },
  {
    "id": 36,
    "description": "User invited"
  },
  {
    "id": 37,
    "description": "Password reset requested"
  },
  {
    "id": 38,
    "description": "Order submitted"
  },
  {
    "id": 39,
    "description": "Order updated"
  },
  {
    "id": 40,
    "description": "User verification requested"
  },
  {
    "id": 41,
    "description": "User verified"
  },
  {
    "id": 42,
    "description": "Endpoint enabled"
  },
  {
    "id": 43,
    "description": "Endpoint disabled"
  },
  {
    "id": 44,
    "description": "SIM issued"
  },
  {
    "id": 45,
    "description": "SIM factory test"
  },
  {
    "id": 46,
    "description": "User deleted"
  },
  {
    "id": 47,
    "description": "User federation activated"
  },
  {
    "id": 48,
    "description": "SIM registration"
  },
  {
    "id": 49,
    "description": "Device offline"
  },
  {
    "id": 50,
    "description": "SIM Released"
  },
  {
    "id": 51,
    "description": "SIM Assigned"
  },
  {
    "id": 52,
    "description": "Data quota enabled"
  },
  {
    "id": 53,
    "description": "Data quota disabled"
  },
  {
    "id": 54,
    "description": "SMS quota enabled"
  },
  {
    "id": 55,
    "description": "SMS quota disabled"
  },
  {
    "id": 56,
    "description": "Data quota assigned"
  },
  {
    "id": 57,
    "description": "Data quota deleted"
  },
  {
    "id": 58,
    "description": "SMS quota assigned"
  },
  {
    "id": 59,
    "description": "SMS quota deleted"
  },
  {
    "id": 60,
    "description": "Data quota expired"
  },
  {
    "id": 61,
    "description": "SMS quota expired"
  },
  {
    "id": 62,
    "description": "Default inclusive volume updated"
  },
  {
    "id": 63,
    "description": "Monthly order limit threshold reached"
  },
  {
    "id": 64,
    "description": "Monthly order limit reached"
  },
  {
    "id": 65,
    "description": "Endpoint data traffic limit warning"
  },
  {
    "id": 66,
    "description": "SMS MO P2P limit reached"
  },
  {
    "id": 67,
    "description": "User switched workspaces"
  },
  {
    "id": 68,
    "description": "Reset connectivity"
  },
  {
    "id": 69,
    "description": "SIM migration"
  },
  {
    "id": 70,
    "description": "Endpoint limit extension"
  }
]
```

**SDK Code**

```python Event List
import requests

url = "https://iot.telia.lt/api/v1/event/type"

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers)

print(response.json())
```

```javascript Event List
const url = 'https://iot.telia.lt/api/v1/event/type';
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go Event List
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://iot.telia.lt/api/v1/event/type"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("Authorization", "Bearer <token>")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby Event List
require 'uri'
require 'net/http'

url = URI("https://iot.telia.lt/api/v1/event/type")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'

response = http.request(request)
puts response.read_body
```

```java Event List
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://iot.telia.lt/api/v1/event/type")
  .header("Authorization", "Bearer <token>")
  .asString();
```

```php Event List
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://iot.telia.lt/api/v1/event/type', [
  'headers' => [
    'Authorization' => 'Bearer <token>',
  ],
]);

echo $response->getBody();
```

```csharp Event List
using RestSharp;

var client = new RestClient("https://iot.telia.lt/api/v1/event/type");
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer <token>");
IRestResponse response = client.Execute(request);
```

```swift Event List
import Foundation

let headers = ["Authorization": "Bearer <token>"]

let request = NSMutableURLRequest(url: NSURL(string: "https://iot.telia.lt/api/v1/event/type")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```