production
development
https://api.banamex.com/mx-gcgapi
Paths
/v1/channels/{botChannelID}/message
get /v1/channels/{botChannelID}/message
FACEBOOK
authorization
Endpoint for facebook verification
botChannelID
Required in path
string
Unique identifier of the bot for channel
hub.verify_token
Required in query
string
verify_token from Facebook
hub.mode
Required in query
string
mode from Facebook
hub.challenge
Required in query
string
challenge code from Facebook
Accept
Optional in header
string
*/*
200
Challenge Code
{
"schema": {
"type": "string"
}
}
401
Unauthorized
403
Forbidden
404
Not Found
500
Unexpected error
{
"schema": {
"type": "string"
}
}
Example Request
Example Response
GET https://api.banamex.com/mx-gcgapi/morfeus/v1/channels/{botChannelID}/message
Try this operation
No response. This is a mixed content call. It is not possible to test HTTP APIs from an HTTPS secured Portal site and vice versa.
No response. This is a cross-origin call. Make sure the server accepts requests from this portal. Or if using self-signed SSL certificates then paste the URL above into your browser to accept the certificate before trying again (On Internet Explorer it must be the same browser tab.).
post /v1/channels/{botChannelID}/message
FACEBOOK
Message
botChannelID
Required in path
string
Unique identifier of the bot
body
Optional in body
string
Request object that needs to be sent
{
"schema": {
"type": "string"
}
}
Content-Type
Optional in header
string
application/json
Accept
Optional in header
string
application/json
200
An array of messages
{
"schema": {
"type": "string"
}
}
201
Created
401
Unauthorized
403
Forbidden
404
Not Found
Example Request
Example Response
POST https://api.banamex.com/mx-gcgapi/morfeus/v1/channels/{botChannelID}/message
Try this operation
No response. This is a mixed content call. It is not possible to test HTTP APIs from an HTTPS secured Portal site and vice versa.
No response. This is a cross-origin call. Make sure the server accepts requests from this portal. Or if using self-signed SSL certificates then paste the URL above into your browser to accept the certificate before trying again (On Internet Explorer it must be the same browser tab.).