FROM CACHE - en_header

How to get the secret for webhook which was created through the rest api.

Solved
Sensorpro
Tourist
10 1 0

HI,

I am creating a app and as part of the install it creates some web hooks using the the api.
I cannot see how to get the secret for these web hooks, 

You cannot pass it in when creating or it is not returned when I look the up the web hook using the rest api.

/admin/api/2020-10/webhooks.json

These webhooks do now show through settings | notifications which is the expected behavior according to the documentation.
I have also tried using the app's secret from the partner dashboard (API secret key
I just need to verify what secret key I should be using 

Thanks

Accepted Solution (1)

Accepted Solutions
Sensorpro
Tourist
10 1 0

This is an accepted solution.

I have been able to confirm. The secret required for webhooks created through the rest api use the secret for the application obtained from the partner dashboard.

Thanks

View solution in original post

Replies 2 (2)
Sensorpro
Tourist
10 1 0

This is an accepted solution.

I have been able to confirm. The secret required for webhooks created through the rest api use the secret for the application obtained from the partner dashboard.

Thanks

garyrgilbert
Shopify Partner
85 8 27

did you actually get the code to work, because I used the application secret key from the app and it still doesnt verify

 

Regards,

 

Gary

- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution