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

Peter31
Shopify Partner
5 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)?

 

Replies 2 (2)

james-langille
Shopify Staff (Retired)
70 15 27

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.

To learn more visit the Shopify Help Center or the Community Blog.

Peter31
Shopify Partner
5 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?