---
title: "GET /services/coordinate/locations/{locationId}/link/alert"
method: GET
path: "/services/coordinate/locations/{locationId}/link/alert"
tags: ["Coordinate"]
---

# GET /services/coordinate/locations/{locationId}/link/alert

`GET /services/coordinate/locations/{locationId}/link/alert`

## Request

- Base URL: `https://api.smartthings.com/v1`
- URL: `https://api.smartthings.com/v1/services/coordinate/locations/{locationId}/link/alert`
- Auth: OAuth 2
  - Implicit: `https://auth-global.api.smartthings.com`
  - Scopes: `r:locations:*`, `mobile`
- TypeScript: <https://skmtc.dev/smartthings/apis/smartthings-api/docs/services/coordinate/locations/:locationId/link/alert/get.ts> (a function with typed inputs; its response is checked against the schema)

Redirect to condent provider's alert detail link.  If no query given, coordinate of the location ID is used.  Otherwise the coordinate of subscription will be used.

## Path parameters

- `locationId` string, required

## Query parameters

- `postalCode` string
- `subscriptionId` string

## Headers

- `X-ST-Units` string
- `Accept-Language` string
- `Authorization` string, string, required

## Response `default`

Unexpected error

- ErrorResponse
  - `requestId` string: A correlation id used for reference when contacting support.
  - `error` Error: Details about the error.
    - `code` string: Machine-readable error code.
    - `message` string: Human-readable error message.
    - `target` string: Optional field used to point to a problematic part of the request.
    - `details` Error[]

## Other responses

- `302`: Found
- `400`: Bad request
- `401`: Unauthorized
- `404`: Not found

## Changes

- **2025-02-11** `32f2af0e7ed1`: 1 warning
  - deleted the `query` request parameter `geoplaceId`
- **2023-11-27** `e8dd260a33ec`: 1 info
  - added the new optional `query` request parameter `postalCode`

[Operation history](https://skmtc.dev/smartthings/apis/smartthings-api/changes/services/coordinate/locations/:locationId/link/alert/get.md)

---

[API](https://skmtc.dev/smartthings/apis/smartthings-api.md) - [All operations](https://skmtc.dev/smartthings/apis/smartthings-api/llms.txt) - [OpenAPI document](https://skmtc.dev/smartthings/apis/smartthings-api/revisions/2788a4236800?raw)
