openapi: 3.0.0 info: contact: email: hello@unified.to url: https://unified.to/contact description: One API to Rule Them All termsOfService: https://unified.to/tos title: Unified.to account pipeline API version: '1.0' servers: - description: North American data region url: https://api.unified.to - description: European data region url: https://api-eu.unified.to - description: Australian data region url: https://api-au.unified.to security: - jwt: [] tags: - name: pipeline paths: /crm/{connection_id}/pipeline: get: operationId: listCrmPipelines parameters: - in: query name: limit required: false schema: type: number - in: query name: offset required: false schema: type: number - description: Return only results whose updated date is equal or greater to this value (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format) in: query name: updated_gte required: false schema: type: string - in: query name: sort required: false schema: type: string - in: query name: order required: false schema: type: string - description: Query string to search. eg. email address or name in: query name: query required: false schema: type: string - description: Fields to return in: query name: fields required: false schema: items: enum: - id - created_at - updated_at - name - is_active - deal_probability - display_order - stages - raw type: string type: array - description: 'Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar' in: query name: raw required: false schema: type: string - description: ID of the connection in: path name: connection_id required: true schema: type: string responses: '200': content: application/json: schema: $ref: '#/components/schemas/CrmPipelines' description: Successful security: - jwt: [] summary: List all pipelines tags: - pipeline post: operationId: createCrmPipeline parameters: - description: Fields to return in: query name: fields required: false schema: items: enum: - id - created_at - updated_at - name - is_active - deal_probability - display_order - stages - raw type: string type: array type: array - description: 'Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar' in: query name: raw required: false schema: type: string - description: ID of the connection in: path name: connection_id required: true schema: type: string requestBody: content: application/json: schema: $ref: '#/components/schemas/CrmPipeline' required: true responses: '200': content: application/json: schema: $ref: '#/components/schemas/CrmPipeline' description: Successful security: - jwt: [] summary: Create a pipeline tags: - pipeline /crm/{connection_id}/pipeline/{id}: delete: operationId: removeCrmPipeline parameters: - description: ID of the connection in: path name: connection_id required: true schema: type: string - description: ID of the Pipeline in: path name: id required: true schema: type: string responses: '200': description: Successful default: content: {} description: Successful headers: Content-Type: required: false schema: type: string security: - jwt: [] summary: Remove a pipeline tags: - pipeline get: operationId: getCrmPipeline parameters: - description: Fields to return in: query name: fields required: false schema: items: enum: - id - created_at - updated_at - name - is_active - deal_probability - display_order - stages - raw type: string type: array type: array - description: 'Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar' in: query name: raw required: false schema: type: string - description: ID of the connection in: path name: connection_id required: true schema: type: string - description: ID of the Pipeline in: path name: id required: true schema: type: string responses: '200': content: application/json: schema: $ref: '#/components/schemas/CrmPipeline' description: Successful security: - jwt: [] summary: Retrieve a pipeline tags: - pipeline patch: operationId: patchCrmPipeline parameters: - description: Fields to return in: query name: fields required: false schema: items: enum: - id - created_at - updated_at - name - is_active - deal_probability - display_order - stages - raw type: string type: array type: array - description: 'Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar' in: query name: raw required: false schema: type: string - description: ID of the connection in: path name: connection_id required: true schema: type: string - description: ID of the Pipeline in: path name: id required: true schema: type: string requestBody: content: application/json: schema: $ref: '#/components/schemas/CrmPipeline' required: true responses: '200': content: application/json: schema: $ref: '#/components/schemas/CrmPipeline' description: Successful security: - jwt: [] summary: Update a pipeline tags: - pipeline put: operationId: updateCrmPipeline parameters: - description: Fields to return in: query name: fields required: false schema: items: enum: - id - created_at - updated_at - name - is_active - deal_probability - display_order - stages - raw type: string type: array type: array - description: 'Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar' in: query name: raw required: false schema: type: string - description: ID of the connection in: path name: connection_id required: true schema: type: string - description: ID of the Pipeline in: path name: id required: true schema: type: string requestBody: content: application/json: schema: $ref: '#/components/schemas/CrmPipeline' required: true responses: '200': content: application/json: schema: $ref: '#/components/schemas/CrmPipeline' description: Successful security: - jwt: [] summary: Update a pipeline tags: - pipeline components: schemas: CrmPipeline: properties: created_at: format: date-time type: string deal_probability: type: number display_order: type: number id: type: string is_active: type: boolean name: type: string raw: additionalProperties: true type: object stages: $ref: '#/components/schemas/property_CrmPipeline_stages' updated_at: format: date-time type: string type: object CrmStage: properties: active: type: boolean created_at: format: date-time type: string deal_probability: type: number display_order: type: number id: type: string is_closed: type: boolean name: type: string updated_at: format: date-time type: string type: object CrmPipelines: items: $ref: '#/components/schemas/CrmPipeline' type: array property_CrmPipeline_stages: items: $ref: '#/components/schemas/CrmStage' type: array securitySchemes: jwt: in: header name: authorization type: apiKey externalDocs: description: API Documentation url: https://docs.unified.to