--- swagger: "2.0" info: title: Morfeus Facebook webhook description: API specification for facebook channel API version: 1.0.0 contact: [] x-ibm-name: morfeus-facebook-webhook name: "" basePath: /morfeus tags: - name: fb-channel-api-controller description: Facebook channel API paths: /v1/channels/{botChannelID}/message: get: tags: - FACEBOOK summary: authorization description: Endpoint for facebook verification operationId: authorizationUsingGET_1 consumes: - application/json produces: - '*/*' parameters: - name: botChannelID in: path description: Unique identifier of the bot for channel required: true type: string - name: hub.verify_token in: query description: verify_token from Facebook required: true type: string - name: hub.mode in: query description: mode from Facebook required: true type: string - name: hub.challenge in: query description: challenge code from Facebook required: true type: string responses: 200: description: Challenge Code schema: type: string 401: description: Unauthorized 403: description: Forbidden 404: description: Not Found 500: description: Unexpected error schema: type: string post: tags: - FACEBOOK summary: Message operationId: handleMessageUsingPOST consumes: - application/json produces: - application/json parameters: - name: botChannelID in: path description: Unique identifier of the bot required: true type: string - in: body name: body description: Request object that needs to be sent required: false schema: type: string responses: 200: description: An array of messages schema: type: string 201: description: Created 401: description: Unauthorized 403: description: Forbidden 404: description: Not Found x-ibm-configuration: enforced: true testable: true phase: realized schemes: - https x-ibm-endpoints: - endpointUrl: https://api.banamex.com/mx-gcgapi type: - production - development ...