invoicepdfs-com Workspaces API
The workspaces API from invoicepdfs-com — 4 operation(s) for workspaces.
The workspaces API from invoicepdfs-com — 4 operation(s) for workspaces.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/invoicepdfs-com:invoicepdfs-com-workspaces-api"
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.
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. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Invoicepdfs Com Workspaces API
version: 0.3.0
contact:
name: InvoicePDFs
url: https://invoicepdfs.com/
license:
name: MIT
description: 'Operations tagged workspaces across 2 of this provider''s published API definitions: openapi.json, invoicepdfs-com-openapi.json. Each path carries the servers of the definition it was published in.'
tags:
- name: Workspaces
paths:
/api/v1/workspaces:
get:
tags:
- Workspaces
summary: List Workspaces
description: Workspaces this account owns, newest first.
operationId: list_workspaces
security:
- HTTPBearer: []
parameters:
- name: limit
in: query
required: false
schema:
type: integer
maximum: 100
minimum: 1
default: 50
title: Limit
- name: cursor
in: query
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Cursor
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/WorkspacesListResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/ApiErrorResponse'
x-visibility: public
post:
tags:
- Workspaces
summary: Create Workspace
description: 'Create a workspace, owned by this account.
The creating account is added as its first member with the `owner` role.
Send an `Idempotency-Key` header to make retrying safe: a repeat with the
same key and body returns the original workspace instead of a second one.'
operationId: create_workspace
security:
- HTTPBearer: []
parameters:
- name: Idempotency-Key
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Idempotency-Key
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/WorkspaceCreateRequest'
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/WorkspaceResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/ApiErrorResponse'
x-visibility: public
/api/v1/workspaces/{workspace_id}:
get:
tags:
- Workspaces
summary: Get Workspace
description: One workspace by id.
operationId: get_workspace
security:
- HTTPBearer: []
parameters:
- name: workspace_id
in: path
required: true
schema:
type: string
title: Workspace Id
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/WorkspaceResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/ApiErrorResponse'
x-visibility: public
patch:
tags:
- Workspaces
summary: Update Workspace
description: 'Rename a workspace.
Only the fields you send are changed.'
operationId: update_workspace
security:
- HTTPBearer: []
parameters:
- name: workspace_id
in: path
required: true
schema:
type: string
title: Workspace Id
- name: Idempotency-Key
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Idempotency-Key
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/WorkspacePatchRequest'
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/WorkspaceResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/ApiErrorResponse'
x-visibility: public
delete:
tags:
- Workspaces
summary: Delete Workspace
description: 'Delete a workspace and its membership list.
Every member record goes with it. This cannot be undone, and documents are
unaffected — they belong to the account, not the workspace.'
operationId: delete_workspace
security:
- HTTPBearer: []
parameters:
- name: workspace_id
in: path
required: true
schema:
type: string
title: Workspace Id
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/SimpleBoolResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/ApiErrorResponse'
x-visibility: public
/api/v1/workspaces/{workspace_id}/members:
get:
tags:
- Workspaces
summary: List Workspace Members
description: Everyone on a workspace, with their role.
operationId: list_workspace_members
security:
- HTTPBearer: []
parameters:
- name: workspace_id
in: path
required: true
schema:
type: string
title: Workspace Id
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/WorkspaceMembersListResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/ApiErrorResponse'
x-visibility: public
post:
tags:
- Workspaces
summary: Add Workspace Member
description: 'Add someone to a workspace by email address.
Refused with 409 if that email is already a member. The address does not
have to belong to an existing account.'
operationId: add_workspace_member
security:
- HTTPBearer: []
parameters:
- name: workspace_id
in: path
required: true
schema:
type: string
title: Workspace Id
- name: Idempotency-Key
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Idempotency-Key
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/WorkspaceMemberCreateRequest'
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/WorkspaceMembersListResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/ApiErrorResponse'
x-visibility: public
/api/v1/workspaces/{workspace_id}/members/{member_id}:
patch:
tags:
- Workspaces
summary: Update Workspace Member
description: Change a member's role.
operationId: update_workspace_member
security:
- HTTPBearer: []
parameters:
- name: workspace_id
in: path
required: true
schema:
type: string
title: Workspace Id
- name: member_id
in: path
required: true
schema:
type: string
title: Member Id
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/WorkspaceMemberPatchRequest'
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/WorkspaceMemberOut'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/ApiErrorResponse'
x-visibility: public
delete:
tags:
- Workspaces
summary: Remove Workspace Member
description: 'Remove someone from a workspace.
Removes the membership only; nothing they created is affected.'
operationId: remove_workspace_member
security:
- HTTPBearer: []
parameters:
- name: workspace_id
in: path
required: true
schema:
type: string
title: Workspace Id
- name: member_id
in: path
required: true
schema:
type: string
title: Member Id
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/SimpleBoolResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/ApiErrorResponse'
x-visibility: public
components:
schemas:
WorkspaceMemberPatchRequest:
properties:
role:
type: string
enum:
- owner
- admin
- member
title: Role
type: object
title: WorkspaceMemberPatchRequest
WorkspaceOut:
properties:
id:
type: string
title: Id
name:
type: string
title: Name
created_at:
type: string
title: Created At
updated_at:
type: string
title: Updated At
type: object
required:
- id
- name
- created_at
- updated_at
title: WorkspaceOut
CursorPagination:
properties:
has_more:
type: boolean
title: Has More
default: false
next_cursor:
anyOf:
- type: string
- type: 'null'
title: Next Cursor
type: object
title: CursorPagination
WorkspaceResponse:
properties:
data:
$ref: '#/components/schemas/WorkspaceOut'
type: object
required:
- data
title: WorkspaceResponse
WorkspaceCreateRequest:
properties:
name:
type: string
maxLength: 256
title: Name
examples:
- Engineering Team
type: object
required:
- name
title: WorkspaceCreateRequest
WorkspaceMemberOut:
properties:
id:
type: string
title: Id
workspace_id:
type: string
title: Workspace Id
email:
type: string
title: Email
role:
type: string
title: Role
created_at:
type: string
title: Created At
type: object
required:
- id
- workspace_id
- email
- role
- created_at
title: WorkspaceMemberOut
SimpleBoolResponse:
properties:
data:
additionalProperties:
type: boolean
type: object
title: Data
type: object
required:
- data
title: SimpleBoolResponse
description: 'Generic boolean response envelope.
Example:
{"data": {"deleted": true}}'
ApiErrorResponse:
type: object
title: ApiErrorResponse
properties:
error:
type: object
properties:
status:
type: integer
example: 422
description: HTTP status, mirroring the response status line.
code:
type: string
example: unprocessable_entity
message:
type: string
example: Request validation failed
request_id:
type: string
nullable: true
description: Trace id for this request; also returned as X-Trace-Id.
details:
type: object
nullable: true
description: Error-specific context. Validation failures carry `fields`.
required:
- status
- code
- message
required:
- error
WorkspacesListResponse:
properties:
data:
items:
$ref: '#/components/schemas/WorkspaceOut'
type: array
title: Data
pagination:
$ref: '#/components/schemas/CursorPagination'
type: object
required:
- data
title: WorkspacesListResponse
WorkspacePatchRequest:
properties:
name:
type: string
maxLength: 256
title: Name
type: object
title: WorkspacePatchRequest
WorkspaceMembersListResponse:
properties:
data:
items:
$ref: '#/components/schemas/WorkspaceMemberOut'
type: array
title: Data
type: object
required:
- data
title: WorkspaceMembersListResponse
WorkspaceMemberCreateRequest:
properties:
email:
type: string
title: Email
examples:
- teammate@acme.com
role:
type: string
enum:
- owner
- admin
- member
title: Role
default: member
type: object
required:
- email
title: WorkspaceMemberCreateRequest
securitySchemes:
HTTPBearer:
type: http
scheme: bearer
x-refined-from:
- openapi.json
- invoicepdfs-com-openapi.json
x-internal-tags:
- auth
- jobs
- logs