---
title: "Get workspace id by api key"
method: GET
path: "/v1/workspaces/identifier"
tags: ["Workspace"]
---

# Get workspace id by api key

`GET /v1/workspaces/identifier`

## Request

- Base URL: `https://api-gw.sendspark.com`
- URL: `https://api-gw.sendspark.com/v1/workspaces/identifier`
- Auth: API key in header `x-api-key` and API key in header `x-api-secret`

Get workspace id by api key

## Response `200`

Successful

- GetWorkspaceIdByApiKeyResponseSchema
  - `workspaceId` string, required

## Other responses

- `400`: Bad Request
- `404`: Not Found

## Changes

- **2026-07-15** `781b5762fe77`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/sendspark/apis/sendspark-api/changes/v1/workspaces/identifier/get.md)

---

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