openapi: 3.2.0 info: version: 1.0.0 description: Identify your most influential customers and activate them to drive more conversions on social. title: MAVRCK.IO Meta Business Integrations API servers: - url: http://app.splashscore.com/v1 - url: https://app.splashscore.com/v1 security: - apiKey: [] tags: - name: Meta Business Integrations paths: /v2/marketers/meta/business/integrations: delete: operationId: disconnectBusinessIntegrations responses: '200': description: OK '400': description: Bad Request content: application/json: schema: $ref: '#/components/schemas/BadRequestError' '403': description: Access Forbidden content: application/json: schema: $ref: '#/components/schemas/ForbiddenError' '404': description: Resource Not Found content: application/json: schema: $ref: '#/components/schemas/NotFoundError' '500': description: Server Error content: application/json: schema: $ref: '#/components/schemas/ServerError' tags: - Meta Business Integrations post: operationId: connectBusinessIntegration responses: '201': description: OK content: application/json: schema: $ref: '#/components/schemas/MetaBusinessIntegrationDto' '400': description: Bad Request content: application/json: schema: $ref: '#/components/schemas/BadRequestError' '403': description: Access Forbidden content: application/json: schema: $ref: '#/components/schemas/ForbiddenError' '404': description: Resource Not Found content: application/json: schema: $ref: '#/components/schemas/NotFoundError' '500': description: Server Error content: application/json: schema: $ref: '#/components/schemas/ServerError' tags: - Meta Business Integrations requestBody: content: application/json: schema: $ref: '#/components/schemas/MetaConnectBusinessIntegrationRequestBody' required: true get: operationId: getBusinessIntegrations responses: '200': description: OK content: application/json: schema: properties: data: items: $ref: '#/components/schemas/MetaBusinessIntegrationDto' type: array required: - data type: object '400': description: Bad Request content: application/json: schema: $ref: '#/components/schemas/BadRequestError' '403': description: Access Forbidden content: application/json: schema: $ref: '#/components/schemas/ForbiddenError' '404': description: Resource Not Found content: application/json: schema: $ref: '#/components/schemas/NotFoundError' '500': description: Server Error content: application/json: schema: $ref: '#/components/schemas/ServerError' tags: - Meta Business Integrations /v2/marketers/meta/business/integrations/{id}: patch: operationId: enableBusinessIntegration responses: '200': description: OK content: application/json: schema: $ref: '#/components/schemas/MetaBusinessIntegrationDto' '400': description: Bad Request content: application/json: schema: $ref: '#/components/schemas/BadRequestError' '403': description: Access Forbidden content: application/json: schema: $ref: '#/components/schemas/ForbiddenError' '404': description: Resource Not Found content: application/json: schema: $ref: '#/components/schemas/NotFoundError' '500': description: Server Error content: application/json: schema: $ref: '#/components/schemas/ServerError' tags: - Meta Business Integrations parameters: - in: path name: id required: true schema: type: number format: double requestBody: content: application/json: schema: $ref: '#/components/schemas/MetaEnableBusinessIntegrationRequestBody' required: true components: schemas: BadRequestError: properties: details: properties: {} additionalProperties: additionalProperties: true type: object message: type: string enum: - Bad Request required: - message type: object additionalProperties: false MetaConnectBusinessIntegrationRequestBody: properties: code: type: string required: - code type: object ForbiddenError: properties: message: type: string enum: - Access Forbidden details: properties: {} additionalProperties: additionalProperties: true type: object required: - message - details type: object additionalProperties: false ServerError: properties: message: type: string enum: - Server Error details: properties: {} additionalProperties: additionalProperties: true type: object required: - message - details type: object additionalProperties: false NotFoundError: properties: message: type: string enum: - Resource Not Found details: properties: {} additionalProperties: additionalProperties: true type: object required: - message - details type: object additionalProperties: false MetaBusinessIntegrationDto: properties: id: type: number format: double communityId: type: string administratorId: type: number format: double externalBusinessId: type: string enabled: type: boolean required: - id - communityId - administratorId - externalBusinessId - enabled type: object additionalProperties: false MetaEnableBusinessIntegrationRequestBody: properties: enabled: type: boolean enum: - true required: - enabled type: object securitySchemes: apiKey: type: apiKey name: api-key in: header