최근 검색


최근 검색 없음

search for webhook by name using zendesk api



2023년 1월 02일에 게시됨

Is it possible to search for a webhook by filtering by name?

I tried "https://{subdomain}.zendesk.com/api/v2/webhooks"

but sure how the filter

filter[name_contains]

 can be used here


0

1

댓글 1개

image avatar

Zach Anthony

Zendesk Product Manager

Hi Amit,

If you would like to use the Zendesk REST API to filter webhooks by name, you will just need to add filter[name_contains] as a query parameter to your request to the List Webhooks endpoint. This will list all webhooks in your account that contain the value of the query parameter in their name.

For example, a GET request to https://{{subdomain}}.zendesk.com/api/v2/webhooks?filter[name_contains]=demo will return all webhooks that contain 'demo' in their name.

However, because square brackets are technically reserved characters in an URI, depending on your HTTP client they may need to be percent-encoded.

e.g. https://{{subdomain}}.zendesk.com/api/v2/webhooks?filter%5Bname_contains%5D=demo

Hope this helps!

1


댓글을 남기려면 로그인하세요.

원하는 정보를 못 찾으셨나요?

새 게시물