# Get Amazon SNS integration

Returns a single Amazon SNS integration by ID.

[endpoint]
base_url = "https://uptime.betterstack.com"
path = "/api/v2/amazon-sns/{amazon_sns_integration_id}"
method = "GET"

[[path_param]]
name = "amazon_sns_integration_id"
description = "The ID of the Amazon SNS integration you want to get."
required = true
type = "string"

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

[responses]
[[response]]
status = 200
description = '''Returns a single Amazon SNS integration'''
body = '''{
  "data": {
    "id": "4",
    "type": "amazon_sns_integration",
    "attributes": {
      "name": "Backend alerts",
      "created_at": "2026-09-09T10:06:12.418Z",
      "updated_at": "2026-09-09T10:06:31.902Z",
      "policy_id": null,
      "url": "https://uptime.betterstack.com/api/v1/incoming-webhook/[token]",
      "sample_query_string": null,
      "sample_headers": null,
      "sample_body": null,
      "team_name": "Testing",
      "call": false,
      "sms": false,
      "email": true,
      "push": true,
      "critical_alert": false,
      "team_wait": 180,
      "recovery_period": 0,
      "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": "body",
        "match_type": "match_everything",
        "target_field": null,
        "content": null,
        "content_before": null,
        "content_after": null
      },
      "title_field": {
        "name": null,
        "special_type": "title",
        "field_target": "sns_envelope",
        "match_type": "match_everything",
        "target_field": "Subject",
        "content": null,
        "content_before": null,
        "content_after": null
      },
      "started_alert_id_field": {
        "name": null,
        "special_type": "alert_id",
        "field_target": "body",
        "match_type": "match_everything",
        "target_field": null,
        "content": null,
        "content_before": null,
        "content_after": null
      },
      "acknowledged_alert_id_field": null,
      "resolved_alert_id_field": null,
      "other_started_fields": null,
      "other_acknowledged_fields": null,
      "other_resolved_fields": null,
      "topic_arn": "arn:aws:sns:eu-west-1:123456789012:backend-alerts",
      "subscription_state": "active"
    }
  }
}'''

[/responses]

#### Example cURL

```shell
[label Example]
curl --request GET \
  --url https://uptime.betterstack.com/api/v2/amazon-sns/4 \
  --header "Authorization: Bearer $TOKEN"
```

[info]
#### Has AWS confirmed the subscription yet?
`subscription_state` is `awaiting` until AWS completes the subscription handshake, and `active` once it has. `topic_arn` names the topic Better Stack is subscribed to, and stays `null` until then.
[/info]
