Webhook 2:argons

Hello
How can i Do to create a webhook to transfere Data beetween two argon with différents users.

Thank you

Idir

My recommendation is to not use a webhook at all. Create a new product and add both of those devices to the same product. They can still be claimed to different users, however both users must be team members of the product. Then you can publish and subscribe between the two devices directly.

The alternative, using a webhook, would work like this:

  • User 1 would have a webhook that calls the Particle API to publish to user 2 or use a function. This requires that the webhook embed the access token for user 2 in the webhook.
  • User 2 would have a webhook that calls the Particle API to publish to user 1 or use a function. This requires that the webhook embed the access token for user 1 in the webhook.

Hello
Thank you for you response
I try then I give you feedback.

Idir

THANKS YOU FOR YOUR HELP

IT WORK.

I create a Product shared with 2 users

THANKS again

Idir

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.