openapi: 3.2.0 info: version: 1.0.0 title: Paperform Papersign Spaces API contact: name: Paperform API Support url: https://paperform.co email: support@paperform.co servers: - url: https://api.paperform.co/v1 security: - bearerAuth: [] tags: - name: Papersign Spaces paths: /papersign/spaces: get: parameters: - $ref: '#/components/parameters/spaceSearch' description: 'This endpoint returns a list of Papersign spaces. Please note that this feature is exclusively available as part of the Papersign API.' operationId: listPapersignSpaces tags: - Papersign Spaces requestBody: content: application/json: schema: $ref: '#/components/schemas/PapersignSpace' required: - title responses: '200': description: 'Successfully returned a list of Papersign spaces ' content: application/json: schema: type: object allOf: - properties: status: type: string enum: - ok results: type: object properties: spaces: type: array items: $ref: '#/components/schemas/PapersignSpace' - $ref: '#/components/schemas/Pagination' '400': $ref: '#/components/responses/BadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' '422': $ref: '#/components/responses/Validation' '429': $ref: '#/components/responses/Throttled' 5XX: $ref: '#/components/responses/Unexpected' summary: List papersign spaces x-summary-source: derived components: responses: Throttled: description: Too Many Requests content: text/html: schema: type: string enum: - Too many requests. Unauthorized: description: Unauthorized content: application/json: schema: type: object allOf: - $ref: '#/components/schemas/Error' - properties: error_type: type: string enum: - authentication description: Token not provided for not valid. Unexpected: description: Unexpected Error content: application/json: schema: type: object allOf: - $ref: '#/components/schemas/Error' - properties: error_type: type: string enum: - server_error description: An unexpected error. Forbidden: description: Not Permitted content: application/json: schema: type: object allOf: - $ref: '#/components/schemas/Error' - properties: error_type: type: string enum: - permission description: Not permitted to access requested resource. BadRequest: description: Invalid Request content: application/json: schema: type: object allOf: - $ref: '#/components/schemas/Error' - properties: error_type: type: string enum: - validation description: Invalid parameters provided. Validation: description: Validation Error content: application/json: schema: type: object allOf: - $ref: '#/components/schemas/Error' - properties: error_type: type: string enum: - validation description: Invalid parameters provided. NotFound: description: Not Found content: application/json: schema: type: object allOf: - $ref: '#/components/schemas/Error' - properties: error_type: type: string enum: - not_found description: The requested resource was not found. parameters: spaceSearch: in: query name: search schema: type: string description: Search spaces by name. example: John Doe schemas: Pagination: type: object properties: total: type: integer description: The total number of items. readOnly: true example: 57 has_more: description: Whether there are more items. type: boolean example: true readOnly: true limit: description: The limit of items per page. type: integer example: 20 default: 20 skip: description: The number of items to skip. type: integer default: 0 example: 0 PapersignSpace: type: object properties: id: type: number format: int32 readOnly: true description: The unique identifier of the folder. example: 9999 name: type: string description: The name of the space. example: My Space root_folder_id: type: number format: int32 description: The unique identifier of the root folder. example: 9999 allow_team_access: type: boolean description: Whether to allow team access to this space. example: true Error: type: object properties: status: type: string enum: - error example: error message: type: string description: An error message. example: Invalid request details: type: array description: Suggested actions to resolve the error. items: type: string securitySchemes: bearerAuth: type: http scheme: bearer x-readme: explorer-enabled: true proxy-enabled: true