> ## Documentation Index
> Fetch the complete documentation index at: https://help.sendspark.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get the list of the current users workspaces

> Get the list of the current users workspaces



## OpenAPI

````yaml /api-reference/openapi.json get /v1/workspaces
openapi: 3.0.0
info:
  title: Sendspark API
  version: 1.2.0
  description: >-
    Public Sendspark API. DRAFT scaffold generated from the internal API v2 spec
    — endpoint selection and authentication are pending engineering review
    before publishing.
servers:
  - url: https://api-gw.sendspark.com
    description: Production
security:
  - apiKey: []
    apiSecret: []
tags: []
paths:
  /v1/workspaces:
    get:
      tags:
        - Workspace
      summary: Get the list of the current users workspaces
      description: Get the list of the current users workspaces
      operationId: getWorkspaces
      parameters:
        - name: dropdownRendering
          in: query
          required: false
          schema:
            type: boolean
      responses:
        '200':
          description: Successful
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/WorspacesResponseSchema'
components:
  schemas:
    WorspacesResponseSchema:
      type: object
      properties:
        workspaces:
          $ref: '#/components/schemas/Workspaces'
    Workspaces:
      type: array
      items:
        $ref: '#/components/schemas/WorkspaceResponseSchemadropdownRendering'
    WorkspaceResponseSchemadropdownRendering:
      type: object
      properties:
        _id:
          type: string
        name:
          type: string
      required:
        - _id
        - name
  securitySchemes:
    apiKey:
      type: apiKey
      in: header
      name: x-api-key
    apiSecret:
      type: apiKey
      in: header
      name: x-api-secret

````