Recuperar uma lista de Webhooks por PHONE_ID

É possível recuperar todos os webhooks configurados pelo usuário da apikey através do endpoint api/Webhooks:

curl --request GET \
  --url https://api-cerberus-kong.socialminer.tech/api/Webhooks \
  --header 'apikey: {APIKEY}' \
  --header 'version: 4.0'

Caso hajam webhooks cadastrados, os mesmos são retornados numa lista conforme abaixo com o http status 200:

{
	"webhooks": [
		{
			"id": "f2056e5f-46b5-4d91-9a9a-54bb37a436c6",
			"phone": "123606713995007",
			"phone_id": "123606713995007",
			"meta_version":"LASTEST",
			"endpoint": "https://webhook.site/1d2befb1-c201-41e9-be6d-53677ca53bc7",
			"create_date": "2023-03-28T13:24:30.961Z",
			"update_date": "2023-03-28T13:24:30.961Z",
			"headers": {
				"additionalProp1": "5511964557557",
				"additionalProp2": "teste123",
				"additionalProp3": "string"

            }
}
	],
	"success": true
}
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Query Params
phoneId
array of strings

Phone Id from meta.If it has no credentials or if the credentials allow it, this value replaces the credential user

phoneId
Headers
credentials
object

Gateway credentials used to collect from request user data such as access group, credential type and correlated phoneId

string
Defaults to 5
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
text/plain
application/json
text/json