Snitcher Workspaces API

Endpoints for managing workspaces, users and tags available in the workspace

GitHub OpenAPI

Operations 10

GET /v1/workspaces/{workspaceUuid}/contact-credits Get the workspace's contact reveal credit balance #
GET /v1/workspaces/{workspaceUuid}/tracker-features Get the workspace's tracker features #
PATCH /v1/workspaces/{workspaceUuid}/tracker-features Update the workspace's tracker features #
GET /v1/workspaces Get the user's workspaces #
POST /v1/workspaces Create a new workspace #
GET /v1/workspaces/{uuid} Get details of a specific workspace #
DELETE /v1/workspaces/{uuid} Delete a workspace #
PATCH /v1/workspaces/{uuid} Update workspace details #
POST /v1/workspaces/{uuid}/users/invite Invite a user to a workspace #
POST /v1/workspaces/{uuid}/tags Create a new tag for a workspace #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/snitcher:snitcher-workspaces-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

snitcher-workspaces-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Snitcher Workspaces API
  description: Discovering leads or discovering our API. This page is all you need to do both!
  contact:
    email: info@snitcher.com
  version: 1.0.0
servers:
- url: https://api.snitcher.com
  description: Production API
tags:
- name: Workspaces
  description: Endpoints for managing workspaces, users and tags available in the workspace
paths:
  /v1/workspaces/{workspaceUuid}/contact-credits:
    get:
      tags:
      - Workspaces
      summary: Get the workspace's contact reveal credit balance
      description: The credits available for revealing contact emails and phone numbers in the current billing cycle, how many have been used, and when the cycle resets. Agency partners can read this for each of their client workspaces.
      operationId: 9811bea2355c538b822286bba3c523c1
      parameters:
      - name: workspaceUuid
        in: path
        description: UUID of the workspace
        required: true
        schema:
          type: string
          format: uuid
          example: 550e8400-e29b-41d4-a716-446655440000
      responses:
        '200':
          description: Contact credit balance
          content:
            application/json:
              schema:
                properties:
                  success:
                    type: boolean
                    example: true
                  data:
                    $ref: '#/components/schemas/Subscription_ContactCredits'
                type: object
        '401':
          description: Unauthorized
        '404':
          description: Workspace not found
      security:
      - Snitcher bearer token: []
  /v1/workspaces/{workspaceUuid}/tracker-features:
    get:
      tags:
      - Workspaces
      summary: Get the workspace's tracker features
      description: Whether the tracking script captures form submissions and abandons, link clicks and file downloads. A workspace without a tracking script reports the defaults its script will run with once installed.
      operationId: 339c386f6bec883c4f316fe01c09977c
      parameters:
      - name: workspaceUuid
        in: path
        description: UUID of the workspace
        required: true
        schema:
          type: string
          format: uuid
          example: 550e8400-e29b-41d4-a716-446655440000
      responses:
        '200':
          description: Tracker features
          content:
            application/json:
              schema:
                properties:
                  success:
                    type: boolean
                    example: true
                  data:
                    $ref: '#/components/schemas/TrackingScript_RadarFeatures'
                type: object
        '401':
          description: Unauthorized
        '404':
          description: Workspace not found
      security:
      - Snitcher bearer token: []
    patch:
      tags:
      - Workspaces
      summary: Update the workspace's tracker features
      description: Turn form, click or download tracking on or off. Only the fields in the request change; the others keep their current value. The tracking script picks the change up on its next load.
      operationId: fdea821117459e5110ba2ed18aa1c1a5
      parameters:
      - name: workspaceUuid
        in: path
        description: UUID of the workspace
        required: true
        schema:
          type: string
          format: uuid
          example: 550e8400-e29b-41d4-a716-446655440000
      requestBody:
        required: true
        content:
          application/json:
            schema:
              properties:
                form_tracking:
                  type: boolean
                  example: true
                click_tracking:
                  type: boolean
                  example: true
                download_tracking:
                  type: boolean
                  example: false
              type: object
      responses:
        '200':
          description: Tracker features after the update
          content:
            application/json:
              schema:
                properties:
                  success:
                    type: boolean
                    example: true
                  data:
                    $ref: '#/components/schemas/TrackingScript_RadarFeatures'
                type: object
        '401':
          description: Unauthorized
        '404':
          description: Workspace not found, or it has no tracking script
        '422':
          description: Validation error
      security:
      - Snitcher bearer token: []
  /v1/workspaces:
    get:
      tags:
      - Workspaces
      summary: Get the user's workspaces
      operationId: d181186b161c6baafaa8b23266b5e6b8
      parameters:
      - name: page
        in: query
        description: The page number for pagination. page × size may not exceed 25,000 rows; narrow the listing with date_from and date_to instead of paging deeper.
        required: false
        schema:
          type: integer
          minimum: 1
          example: 1
      - name: size
        in: query
        description: The number of organisations per page (1-1000)
        required: false
        schema:
          type: integer
          maximum: 1000
          minimum: 1
          example: 10
      responses:
        '200':
          description: List of workspaces
          content:
            application/json:
              schema:
                type: object
                allOf:
                - $ref: '#/components/schemas/Pagination'
                - properties:
                    success:
                      type: boolean
                      example: true
                    data:
                      type: array
                      items:
                        $ref: '#/components/schemas/Workspace_Workspace'
                  type: object
        '401':
          description: Unauthorized
      security:
      - Snitcher bearer token: []
    post:
      tags:
      - Workspaces
      summary: Create a new workspace
      operationId: 7973387b2c184e4d8e471cbe6f01e19f
      requestBody:
        required: true
        content:
          application/json:
            schema:
              properties:
                url:
                  type: string
                  format: url
                  example: https://acme.com
              type: object
      responses:
        '200':
          description: Workspace details
          content:
            application/json:
              schema:
                properties:
                  success:
                    type: boolean
                    example: true
                  data:
                    $ref: '#/components/schemas/Workspace_Workspace'
                type: object
        '400':
          description: Invalid input
        '401':
          description: Unauthorized
      security:
      - Snitcher bearer token: []
  /v1/workspaces/{uuid}:
    get:
      tags:
      - Workspaces
      summary: Get details of a specific workspace
      operationId: 141bf170f7bbb4497b6c23ef3c7fe4e7
      parameters:
      - name: uuid
        in: path
        description: UUID of the workspace
        required: true
        schema:
          type: string
          format: uuid
          example: 550e8400-e29b-41d4-a716-446655440000
      responses:
        '200':
          description: Workspace details
          content:
            application/json:
              schema:
                properties:
                  success:
                    type: boolean
                    example: true
                  data:
                    $ref: '#/components/schemas/Workspace_Workspace'
                type: object
        '401':
          description: Unauthorized
        '404':
          description: Workspace not found
      security:
      - Snitcher bearer token: []
    delete:
      tags:
      - Workspaces
      summary: Delete a workspace
      operationId: 63457e8e20c1fd12f8d8c4f5308ed8ec
      parameters:
      - name: uuid
        in: path
        description: UUID of the workspace
        required: true
        schema:
          type: string
          format: uuid
          example: 550e8400-e29b-41d4-a716-446655440000
      responses:
        '200':
          description: Workspace deleted
          content:
            application/json:
              schema:
                properties:
                  success:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Workspace deleted
                type: object
        '401':
          description: Unauthorized
        '404':
          description: Workspace not found
      security:
      - Snitcher bearer token: []
    patch:
      tags:
      - Workspaces
      summary: Update workspace details
      operationId: b8a67cc1b1e2cbb51c0c8883753904cb
      parameters:
      - name: uuid
        in: path
        description: UUID of the workspace
        required: true
        schema:
          type: string
          format: uuid
          example: 550e8400-e29b-41d4-a716-446655440000
      requestBody:
        required: true
        content:
          application/json:
            schema:
              properties:
                usage_limit:
                  type: integer
                  example: 1000
              type: object
      responses:
        '200':
          description: Workspace details
          content:
            application/json:
              schema:
                properties:
                  success:
                    type: boolean
                    example: true
                  data:
                    $ref: '#/components/schemas/Workspace_Workspace'
                type: object
        '400':
          description: Invalid input
        '401':
          description: Unauthorized
        '404':
          description: Workspace not found
      security:
      - Snitcher bearer token: []
  /v1/workspaces/{uuid}/users/invite:
    post:
      tags:
      - Workspaces
      summary: Invite a user to a workspace
      operationId: 1fce4c8efb148c6a9b1de32a9bea0e08
      parameters:
      - name: uuid
        in: path
        description: UUID of the workspace
        required: true
        schema:
          type: string
          format: uuid
          example: 550e8400-e29b-41d4-a716-446655440000
      requestBody:
        required: true
        content:
          application/json:
            schema:
              properties:
                email:
                  type: string
                  format: email
                  example: john.doe@example.com
              type: object
      responses:
        '200':
          description: User invited
          content:
            application/json:
              schema:
                properties:
                  success:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: An invite link has been sent to john.doe@example.com
                  data:
                    properties:
                      invite_link:
                        type: string
                        format: url
                        example: https://app.snitcher.com/invite/12345
                    type: object
                type: object
        '400':
          description: Invalid input
        '401':
          description: Unauthorized
        '404':
          description: Workspace not found
      security:
      - Snitcher bearer token: []
  /v1/workspaces/{uuid}/tags:
    post:
      tags:
      - Workspaces
      summary: Create a new tag for a workspace
      operationId: d24647f57de8b0d7de36353b87a869eb
      parameters:
      - name: uuid
        in: path
        description: UUID of the workspace
        required: true
        schema:
          type: string
          format: uuid
          example: 550e8400-e29b-41d4-a716-446655440000
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TagRequest'
      responses:
        '200':
          description: Workspace details
          content:
            application/json:
              schema:
                properties:
                  success:
                    type: boolean
                    example: true
                  data:
                    $ref: '#/components/schemas/Workspace_Workspace'
                type: object
        '400':
          description: Invalid input
        '401':
          description: Unauthorized
        '404':
          description: Workspace not found
      security:
      - Snitcher bearer token: []
components:
  schemas:
    Subscription_ContactCreditsPlan:
      required:
      - currency
      - credits
      - period
      properties:
        currency:
          type: string
          example: eur
        credits:
          description: Credits the package adds per period
          type: integer
          example: 500
        period:
          type: string
          enum:
          - monthly
          - yearly
          example: monthly
      type: object
    Workspace_Status:
      type: string
      enum:
      - active
      - inactive
      - on_trial
    TagRequest:
      title: Tag Request
      description: Request parameters for creating a tag
      properties:
        tag_name:
          description: The name of the tag
          type: string
          example: Tag Name
      type: object
    Pagination:
      properties:
        current_page:
          type: integer
          example: 1
        last_page:
          type: integer
          example: 10
        per_page:
          type: integer
          example: 15
        total:
          type: integer
          example: 150
        next_page_url:
          type:
          - string
          - 'null'
          example: https://api.example.com/v1/workspaces?page=2
        prev_page_url:
          type:
          - string
          - 'null'
          example: null
        first_page_url:
          type:
          - string
          - 'null'
          example: https://api.example.com/v1/workspaces?page=1
        last_page_url:
          type:
          - string
          - 'null'
          example: https://api.example.com/v1/workspaces?page=10
        path:
          type:
          - string
          - 'null'
          example: https://api.example.com/v1/workspaces
        from:
          type:
          - integer
          - 'null'
          example: 1
        to:
          type:
          - integer
          - 'null'
          example: 15
        data:
          type: array
          items: {}
      type: object
    Subscription_ContactCredits:
      required:
      - used
      - total
      - remaining
      - free_credits
      - email_credits_used
      - phone_credits_used
      properties:
        cycle_starts_at:
          type:
          - string
          - 'null'
          format: date-time
          example: '2026-09-09T00:00:00+00:00'
        cycle_ends_at:
          description: When the cycle's usage resets
          type:
          - string
          - 'null'
          format: date-time
          example: '2026-10-09T00:00:00+00:00'
        used:
          description: Credits consumed in the current cycle
          type: integer
          example: 100
        total:
          description: 'Credits available per cycle: the plan''s free credits plus any purchased package'
          type: integer
          example: 600
        remaining:
          type: integer
          example: 500
        package:
          oneOf:
          - $ref: '#/components/schemas/Subscription_ContactCreditsPackage'
          description: The purchased credit package, or null when the workspace only has the credits included in its plan
        free_credits:
          description: Credits included in the plan each cycle
          type: integer
          example: 100
        email_credits_used:
          type: integer
          example: 60
        phone_credits_used:
          description: Phone reveals expressed in credits (a phone reveal costs 5 credits)
          type: integer
          example: 40
      type: object
    Subscription_ContactCreditsPackage:
      required:
      - status
      - plan
      - on_grace_period
      properties:
        status:
          description: Stripe subscription status of the package
          type: string
          example: active
        ends_at:
          description: When a cancelled package stops adding credits
          type:
          - string
          - 'null'
          format: date-time
          example: null
        plan:
          $ref: '#/components/schemas/Subscription_ContactCreditsPlan'
        on_grace_period:
          type: boolean
          example: false
      type: object
    Workspace_Workspace:
      required:
      - uuid
      - name
      - url
      - tracking_script_id
      - tracking_script_snippet
      - available_tags
      properties:
        uuid:
          type: string
          format: uuid
        name:
          type: string
          example: ACME Inc.
        url:
          type: string
          example: https://acme.com
        tracking_script_id:
          type: string
          example: s123456789
        tracking_script_snippet:
          type: string
          example: <script>...</script>
        available_tags:
          type: array
          items:
            type: string
          example:
          - marketing
          - design
        status:
          $ref: '#/components/schemas/Workspace_Status'
        usage_limit:
          type:
          - number
          - 'null'
          example: '1000'
      type: object
    TrackingScript_RadarFeatures:
      required:
      - form_tracking
      - click_tracking
      - download_tracking
      properties:
        form_tracking:
          description: Capture form submissions and abandons
          type: boolean
          example: true
        click_tracking:
          description: Capture link clicks
          type: boolean
          example: true
        download_tracking:
          description: Capture file downloads
          type: boolean
          example: true
      type: object
  securitySchemes:
    Snitcher_bearer_token:
      type: http
      description: Enter your personal access token (PAT) to authenticate
      bearerFormat: JWT
      scheme: bearer