Webhook created with API will it keep firing if token expires?

Peter31
Shopify Partner
4 0 0

After creating a webhook with the admin API, will it continue to fire if the Oauth token used to create it expires (app still installed)?

 

0 Likes
james-langille
Shopify Staff
Shopify Staff
57 12 15

Hello @Peter31 ,

I believe it will continue firing. OAuth tokens should periodically expire for security reasons, so it wouldn't make sense to require apps to register webhooks every time the tokens expire. However, you would need to refresh your OAuth tokens in order to add more, or modify/delete any existing webhooks.

james-langille | Developer @ Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit Shopify.dev or the Shopify Web Design and Development Blog

0 Likes
Peter31
Shopify Partner
4 0 0

After a person installs our app the token as I read doesn't expire unless the app is uninstalled so there isn't an expiration on it? The app creates the webhook so unless the app is uninstalled there should't be an issue sending the webhooks?

0 Likes