Hi,
I created a custom connector but its generating a web-hook URL which is not working. I tested it through postman but its throwing error below
{
"error": {
"code": "DirectApiAuthorizationRequired",
"message": "The request must be authenticated only by Shared Access scheme."
}
}
URL generated
https://prod-17.southeastasia.logic.azure.com/workflows/d61ab61b88e14ba6a7918cd705021425/triggers/Inbound_SMS/versions/08586082302980018035/run?api-version=2016-06-01&sp=%2Ftriggers%2FInbound_SMS%2Fversions%2F08586082302980018035%2Frun%2C%2Ftriggers%2FInb
SWAGGER
{
"swagger": "2.0",
"info": {
"title": "MYAPI",
"description": "",
"version": "1.0"
},
"host": "rest.myapi.com",
"basePath": "/v3",
"schemes": [
"https"
],
"consumes": [],
"produces": [],
"paths": {
"/automations/sms/inbound": {
"x-ms-notification-content": {
"description": "SMSWebhookResponse"
},
"post": {
"responses": {},
"summary": "Inbound SMS",
"description": "Inbound SMS",
"operationId": "inbound_sms",
"x-ms-visibility": "important",
"x-ms-trigger": "single",
"parameters": [
{
"name": "body",
"in": "body",
"required": true,
"schema": {
"type": "object",
"properties": {
"message_search_type": {
"type": "integer",
"format": "int32",
"description": "message_search_type",
"title": "",
"x-ms-visibility": "internal",
"default": 0
},
"message_search_term": {
"type": "string",
"description": "message_search_term",
"title": "",
"default": "*"
},
"action_address": {
"type": "string",
"description": "action_address",
"title": "",
"x-ms-visibility": "internal",
"x-ms-notification-url": true
},
"dedicated_number": {
"type": "string",
"description": "dedicated_number",
"title": "",
"x-ms-visibility": "internal",
"default": "*"
},
"rule_name": {
"type": "string",
"description": "rule_name",
"title": "",
"x-ms-visibility": "important"
},
"action": {
"type": "string",
"description": "action",
"title": "",
"default": "URL",
"x-ms-visibility": "internal"
},
"enabled": {
"type": "integer",
"format": "int32",
"description": "enabled",
"title": "",
"x-ms-visibility": "internal",
"default": 1
}
},
"required": [
"dedicated_number",
"enabled",
"rule_name",
"message_search_type",
"message_search_term",
"action",
"action_address"
]
}
}
]
}
}
},
"definitions": {},
"parameters": {},
"responses": {},
"securityDefinitions": {
"basic_auth": {
"type": "basic"
}
},
"security": [
{
"basic_auth": []
}
],
"tags": []
}
I will really appreciate if someone can help me to resolve the issue
Thanks
Rizwan Mahfooz