---
title: "Get Locations (Stream –> DSP via OAuth)"
method: GET
path: "/stream-dsp/v1/locations"
---

# Get Locations (Stream –> DSP via OAuth)

`GET /stream-dsp/v1/locations`

## Request

- The document declares no server URL.
- Auth: none declared. Required headers: `authorization`
- TypeScript: <https://skmtc.dev/meet-jenna/apis/become-a-stream-dsp/docs/stream-dsp/v1/locations/get.ts> (a function with typed inputs; its response is checked against the schema)

You will have to build this endpoint into your system. This is where Stream will query the locations attached to the OAuth token.

## Headers

- `authorization` string, required
- `Authorization` string

## Response `200`

- GetLocationsResponseDto
  - `locations` DspLocation[], required
    - `provider_id` string, required: The ID of the location in your system.
    - `name` string, required: The name of the location in your system.
    - `address` Address, required
      - `address_line_1` string, required
      - `address_line_2` string
      - `city` string, required
      - `state` string, required
      - `postal_code` string, required
      - `country` string, required

---

[API](https://skmtc.dev/meet-jenna/apis/become-a-stream-dsp.md) - [All operations](https://skmtc.dev/meet-jenna/apis/become-a-stream-dsp/llms.txt) - [OpenAPI document](https://skmtc.dev/meet-jenna/apis/become-a-stream-dsp/revisions/a5d965f37379?raw)
