Explore documentation

List all email integrations

Returns a list of all your email integrations. This endpoint supports pagination.

GET https://uptime.betterstack.com/api/v2/email-integrations

Headers

Authorization
required string
200

Response body

{
  "data": [
    {
      "id": "13760",
      "type": "email_integration",
      "attributes": {
        "name": "Test",
        "created_at": "2023-01-20T09:18:47.361Z",
        "updated_at": "2023-01-20T09:18:47.361Z",
        "policy_id": null,
        "team_name": "Testing",
        "call": false,
        "sms": false,
        "email": true,
        "push": true,
        "team_wait": 180,
        "recovery_period": 0,
        "email_address": "test@incidents.uptime.betterstack.com",
        "paused": false,
        "started_rule_type": "unused",
        "acknowledged_rule_type": "unused",
        "resolved_rule_type": "unused",
        "started_rules": [

        ],
        "acknowledged_rules": [

        ],
        "resolved_rules": [

        ],
        "cause_field": {
          "name": null,
          "special_type": "cause",
          "field_target": "subject",
          "match_type": "match_everything",
          "content": null,
          "content_before": null,
          "content_after": null
        },
        "started_alert_id_field": null,
        "acknowledged_alert_id_field": null,
        "resolved_alert_id_field": null,
        "other_started_fields": null,
        "other_acknowledged_fields": null,
        "other_resolved_fields": null
      }
    }
  ],
  "pagination": {
    "first": "https://uptime.betterstack.com/api/v2/email-integrations?page=1",
    "last": "https://uptime.betterstack.com/api/v2/email-integrations?page=1",
    "prev": null,
    "next": null
  }
}

Example cURL

Example
curl --request GET \
  --url https://uptime.betterstack.com/api/v2/email-integrations \
  --header "Authorization: Bearer $TOKEN"