openapi: 3.2.0 info: title: Lasso Registrant Integrations API description: 'Overview Use this API to manage Registrant, Project, and Inventory data within Lasso CRM.' version: 1.0.39 servers: - url: https://api.lassocrm.com/v1 description: Production endpoint tags: - name: Registrant Integrations paths: /registrants/{registrantId}/integrations: parameters: - in: path name: registrantId required: true schema: type: string post: tags: - Registrant Integrations operationId: post_registrants_integrations description: Associate an external customer with a Lasso registrant. What this allows, is for integration-specific triggers to automatically fire when an event is registered for a registrant - for example, when a registrant is updated, Lasso could fire off an event to an external integration. The integration type will be determined from the API Key used to access this route. requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/ExternalId' security: - JwtAuthorizer: [] responses: 200: description: Integrations successfully updated. content: application/json: schema: $ref: '#/components/schemas/ExternalId' 400: $ref: '#/components/responses/BadRequest' 401: $ref: '#/components/responses/Unauthorized' 403: $ref: '#/components/responses/Forbidden' 404: $ref: '#/components/responses/NotFound' 500: $ref: '#/components/responses/InternalServerError' summary: Post registrants integrations x-summary-source: derived delete: tags: - Registrant Integrations operationId: delete_registrants_integrations description: Disassociates a registrant from all externalId's of an integration. This means that webhooks that trigger on externalId will no longer send events for this registrant. The integration associated with the registrant will be determined from the API Key used to access this route. security: - JwtAuthorizer: [] responses: 204: description: registrant successfully disassociated from external registrant. 401: $ref: '#/components/responses/Unauthorized' 403: $ref: '#/components/responses/Forbidden' 404: $ref: '#/components/responses/NotFound' 500: $ref: '#/components/responses/InternalServerError' summary: Delete registrants integrations x-summary-source: derived /registrants/{registrantId}/external/{externalId}: parameters: - in: path name: registrantId required: true schema: type: string - in: path name: externalId required: true schema: type: string delete: tags: - Registrant Integrations operationId: delete_registrants_external description: Disassociates a registrant from a specific externalId. This means that webhooks that trigger on the specified externalId will no longer send events for this registrant. The integration associated with the registrant will be determined from the API Key used to access this route. security: - JwtAuthorizer: [] responses: 204: description: registrant successfully disassociated from external registrant. 401: $ref: '#/components/responses/Unauthorized' 403: $ref: '#/components/responses/Forbidden' 500: $ref: '#/components/responses/InternalServerError' summary: Delete registrants external x-summary-source: derived components: schemas: ExternalId: type: object title: External ID required: - externalId description: Integration externalId associated with a registrant in Lasso properties: externalId: type: string example: 123ABC StandardError: type: object title: Standard Error description: A standard error response format. properties: errorCode: type: integer example: 4xx error: type: string description: A summary of the error example: A summary of the error errorMessage: type: string description: Details of the error example: Details of the error responses: InternalServerError: description: Receiving a 5xx response indicates an error on Lasso's end. Please contact us to report the problem BadRequest: description: 'The request could not be processed due to invalid input: - Is the request payload malformed? - Are all required fields present? - Are field values of the expected type (ie, number format, date format)? - Are field values within the expected constraints (ie, greater than max size of string)? - Are query params of the expected format? Check the body model for more documentation on field constraints and limits. ' content: application/json: schema: $ref: '#/components/schemas/StandardError' Unauthorized: description: The request has not been fulfilled because it lacks valid authentication credentials content: application/json: schema: $ref: '#/components/schemas/StandardError' NotFound: description: The specified resource was not found content: application/json: schema: $ref: '#/components/schemas/StandardError' Forbidden: description: The provided authentication credentials does not have sufficient privileges to access this resource content: application/json: schema: $ref: '#/components/schemas/StandardError' securitySchemes: JwtAuthorizer: type: http scheme: bearer bearerFormat: JWT