Schedulin Workspace API

The Workspace API from Schedulin — 1 operation(s) for workspace.

GitHub OpenAPI

Operations 1

GET /v0/workspace Get the 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/schedulin-app:schedulin-app-workspace-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

schedulin-app-workspace-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Schedulin Workspace API
  version: 0.1.0
  description: 'Schedulin API for social media management.


    ## Authentication


    All API requests require authentication via the `x-api-key` header.


    You can generate an API key from your Schedulin dashboard.


    ```

    x-api-key: your-api-key

    ```'
servers:
- url: https://api.schedulin.app
security:
- apiKey: []
tags:
- name: Workspace
paths:
  /v0/workspace:
    get:
      operationId: v0.workspace.get
      summary: Get the workspace
      description: 'The workspace the API key or OAuth token is scoped to: its name, the caller''s role, whether posts need approval, the active plan, and usage against plan limits (connected channels, and posts used during a free trial). Check `plan.active` and `limits` before bulk scheduling to avoid `402` responses.'
      tags:
      - Workspace
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  id:
                    type: string
                  name:
                    type: string
                  slug:
                    anyOf:
                    - type: string
                    - type: 'null'
                  logo:
                    anyOf:
                    - type: string
                    - type: 'null'
                  createdAt:
                    type: string
                    format: date-time
                    x-native-type: date
                  requireApproval:
                    type: boolean
                    description: When true, posts written by Members are held for approval before they publish
                  role:
                    anyOf:
                    - type: string
                    - type: 'null'
                    description: The caller's role in this workspace (owner, admin or member)
                  memberCount:
                    type: integer
                  plan:
                    type: object
                    properties:
                      id:
                        anyOf:
                        - type: string
                        - type: 'null'
                        description: Active plan id, or null when the workspace has no active plan
                      name:
                        anyOf:
                        - type: string
                        - type: 'null'
                      status:
                        anyOf:
                        - type: string
                        - type: 'null'
                        description: Subscription status, e.g. active, trialing, past_due, canceled
                      active:
                        type: boolean
                        description: Whether the workspace has an active plan, which scheduling and publishing require
                    required:
                    - id
                    - name
                    - status
                    - active
                  limits:
                    type: object
                    properties:
                      channels:
                        type: object
                        properties:
                          used:
                            type: integer
                            description: Connected channels counting toward the limit
                          limit:
                            anyOf:
                            - type: integer
                            - type: 'null'
                            description: Channel limit of the plan; null means unlimited or no plan
                        required:
                        - used
                        - limit
                      trialPosts:
                        anyOf:
                        - type: object
                          properties:
                            used:
                              type: integer
                            limit:
                              type: integer
                          required:
                          - used
                          - limit
                        - type: 'null'
                        description: During a free trial, how many of the trial's scheduled/published posts the caller has used; null outside a trial
                    required:
                    - channels
                    - trialPosts
                required:
                - id
                - name
                - slug
                - logo
                - createdAt
                - requireApproval
                - role
                - memberCount
                - plan
                - limits
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '422':
          $ref: '#/components/responses/ValidationFailed'
        '429':
          $ref: '#/components/responses/RateLimited'
        '500':
          $ref: '#/components/responses/InternalServerError'
      x-fern-sdk-group-name: workspace
      x-fern-sdk-method-name: retrieve
      security:
      - apiKey: []
      - oauth2:
        - org:read
components:
  responses:
    ValidationFailed:
      description: 'Unprocessable request. Schema validation failures have `code: "INPUT_VALIDATION_FAILED"` and `data.fieldErrors` mapping each invalid field to its messages (nested issues name their full path, e.g. `media[0].url: ...`). Business-rule rejections (e.g. a `scheduledAt` in the past) have `code: "UNPROCESSABLE_CONTENT"` and carry the reason in `data.message` and `data.formErrors`.'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ValidationErrorResponse'
          example:
            defined: false
            code: INPUT_VALIDATION_FAILED
            status: 422
            message: Input validation failed
            data:
              formErrors: []
              fieldErrors:
                caption:
                - 'Too small: expected string to have >=1 characters'
    Forbidden:
      description: Forbidden — the credential lacks the required scope or access.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          example:
            defined: false
            code: FORBIDDEN
            status: 403
            message: Forbidden
            data:
              message: Forbidden
    Unauthorized:
      description: Unauthorized — missing or invalid API key / access token.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          example:
            defined: false
            code: UNAUTHORIZED
            status: 401
            message: Unauthorized
            data:
              message: Unauthorized
    BadRequest:
      description: Bad Request — the request isn't allowed in the resource's current state (e.g. editing a published post).
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          example:
            defined: false
            code: BAD_REQUEST
            status: 400
            message: Bad Request
            data:
              message: Bad Request
    RateLimited:
      description: Rate limit exceeded. Wait `Retry-After` seconds before retrying.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/RateLimitErrorResponse'
          example:
            code: RATE_LIMITED
            status: 429
            message: Rate limit exceeded. Retry after 12s.
            error:
              code: RATE_LIMITED
              message: Rate limit exceeded. Retry after 12s.
      headers:
        Retry-After:
          description: Seconds to wait before retrying.
          schema:
            type: integer
    InternalServerError:
      description: Internal Server Error
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          example:
            defined: false
            code: INTERNAL_SERVER_ERROR
            status: 500
            message: Internal Server Error
            data:
              message: Internal Server Error
  schemas:
    ValidationErrorResponse:
      type: object
      description: 422 error. `data.fieldErrors` maps each invalid field to its messages; `data.formErrors` holds errors not tied to one field. `code` is "INPUT_VALIDATION_FAILED" for schema validation and "UNPROCESSABLE_CONTENT" for business-rule rejections, whose reason is also in `data.message`.
      properties:
        code:
          type: string
          description: '"INPUT_VALIDATION_FAILED" or "UNPROCESSABLE_CONTENT"'
        status:
          type: integer
        message:
          type: string
        defined:
          type: boolean
        data:
          type: object
          properties:
            message:
              type: string
              description: Human-readable reason (business-rule rejections only).
            formErrors:
              type: array
              items:
                type: string
            fieldErrors:
              type: object
              additionalProperties:
                type: array
                items:
                  type: string
      required:
      - code
      - status
      - data
    RateLimitErrorResponse:
      type: object
      description: '429 rate-limit error. Per-key request limits return `code: "RATE_LIMITED"` (also mirrored under `error`); the per-user limiter returns `code: "TOO_MANY_REQUESTS"`. Honor the `Retry-After` header.'
      properties:
        code:
          type: string
        status:
          type: integer
        message:
          type: string
        defined:
          type: boolean
        data:
          type: object
          additionalProperties: true
        error:
          type: object
          properties:
            code:
              type: string
            message:
              type: string
          required:
          - code
          - message
      required:
      - code
      - status
    ErrorResponse:
      type: object
      description: Error envelope. The machine-readable `code` and HTTP `status` are always present; the human-readable reason is in `message` / `data.message`.
      properties:
        code:
          type: string
          description: e.g. "BAD_REQUEST", "UNAUTHORIZED", "NOT_FOUND".
        status:
          type: integer
        message:
          type: string
        defined:
          type: boolean
        data:
          type: object
          additionalProperties: true
          properties:
            message:
              type: string
            userMessage:
              type: string
              description: End-user-safe explanation, when available.
            errorTag:
              type: string
            isRetryable:
              type: boolean
      required:
      - code
      - status
  securitySchemes:
    apiKey:
      type: apiKey
      in: header
      name: x-api-key
      description: API key for authentication
    oauth2:
      type: oauth2
      description: OAuth2 authorization code flow (PKCE supported). Each operation lists the scope it requires.
      flows:
        authorizationCode:
          authorizationUrl: https://api.schedulin.app/oauth/authorize
          tokenUrl: https://api.schedulin.app/oauth/token
          scopes:
            posts:read: View posts and drafts
            posts:write: Create, edit, and delete posts
            tags:read: View tags
            tags:write: Create, edit, and delete tags
            social-accounts:read: View connected social accounts
            social-accounts:write: Update and disconnect social accounts
            channels:read: View channels
            media:read: View media files
            media:write: Upload and delete media files
            analytics:read: View analytics data
            org:read: View organization details
            ai:read: View AI generation jobs and available voices
            ai:write: Generate AI images and videos (spends AI credits)
            webhooks:read: View webhook endpoints and delivery history
            webhooks:write: Create, edit, and delete webhook endpoints