openapi: 3.2.0 info: contact: email: support@pypestream.com description: '` ┌────────────┐ ◄──► ┌───────────┐` ` │ Middleware │ ◄──► │ 3rd Party │` ` └────────────┘ ◄──► └───────────┘` ' termsOfService: https://www.pypestream.com/privacy-policy/ title: Middleware Settings API version: 1.0.1 servers: [] security: [] tags: - description: (DEPRECATED) Please use the new Integrations API name: Settings API paths: /contactCenter/v1/settings: get: callbacks: {} deprecated: false operationId: getSettings parameters: [] responses: '200': content: application/json: schema: $ref: '#/components/schemas/Setting' description: Successful operation '400': content: application/json: schema: $ref: '#/components/schemas/BadRequest' description: Bad request '500': content: application/json: schema: $ref: '#/components/schemas/InternalError' description: Internal Error security: - TokenHeader: [] summary: Get the integration settings tags: - Settings API put: callbacks: {} deprecated: false operationId: setSettings parameters: [] requestBody: content: application/json: schema: $ref: '#/components/schemas/Setting' description: Setting object that needs to be updated required: true responses: '201': content: application/json: schema: $ref: '#/components/schemas/Setting' description: Successful operation '400': content: application/json: schema: $ref: '#/components/schemas/BadRequest' description: Bad request '500': content: application/json: schema: $ref: '#/components/schemas/InternalError' description: Internal Error security: - TokenHeader: [] summary: Permit configure the integration tags: - Settings API components: schemas: BadRequest: properties: errors: items: $ref: '#/components/schemas/Error' type: array message: type: string required: - message - errors type: object Error: properties: message: type: string source: type: string type: type: string required: - source - type - message type: object InternalError: properties: message: type: string required: - message type: object Setting: properties: callbackToken: format: hash type: string callbackURL: format: url type: string integrationFields: properties: {} type: object integrationName: type: string required: - integrationName - integrationFields - callbackURL - callbackToken type: object securitySchemes: BasicAuth: scheme: basic type: http TokenHeader: in: header name: X-Pypestream-Token type: apiKey