# List all applications

Lists all error tracking applications for your team.

[endpoint]
base_url = "https://errors.betterstack.com"
path = "/api/v1/applications"
method = "GET"

[[query_param]]
name = "page"
description = "Page number"
required = false
type = "integer"

[[query_param]]
name = "per_page"
description = "Items per page (default: 50, max: 100)"
required = false
type = "integer"

[[query_param]]
name = "name"
description = "Filter by application name (case-insensitive partial match)"
required = false
type = "string"

[[header]]
name = "Authorization"
description = "Bearer `$TOKEN`"
required = true
type = "string"
[/endpoint]

[responses]
[[response]]
status = 200
description = '''Returns a paginated list of applications.'''
body = '''{
  "data": [
    {
      "id": "1234",
      "type": "application",
      "attributes": {
        "application_group_id": 5678,
        "team_id": 123456,
        "team_name": "example-team",
        "name": "my-web-app",
        "table_name": "my_web_app",
        "token": "abc123def456ghi789",
        "ingesting_paused": false,
        "ingesting_host": "s1234.us-east-9.betterstackdata.com",
        "created_at": "2025-01-15T10:30:00.000Z",
        "updated_at": "2025-01-15T10:30:00.000Z",
        "errors_retention": 90,
        "data_region": "us-east-9",
        "custom_bucket": null,
        "code_mapping_stack_root": "/usr/src/app/",
        "code_mapping_source_root": "apps/backend/"
      }
    }
  ],
  "pagination": {
    "first": "https://errors.betterstack.com/api/v1/applications?page=1&per_page=50",
    "last": "https://errors.betterstack.com/api/v1/applications?page=3&per_page=50",
    "prev": null,
    "next": "https://errors.betterstack.com/api/v1/applications?page=2&per_page=50"
  }
}'''

[[response]]
status = 401
description = '''Unauthorized'''
body = '''{
  "errors": "Invalid authentication"
}'''
[/responses]

#### Example cURL

```shell
[label Example]
curl --request GET \
  --url https://errors.betterstack.com/api/v1/applications \
  --header "Authorization: Bearer $TOKEN"
```

[info]
#### Pagination

This endpoint supports [pagination](https://betterstack.com/docs/uptime/api/pagination/). Default is 50 items per page, with a maximum of 100 items per page. The pagination links are provided in the `pagination` object within the response body.
[/info]
