Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support for new Routing Form APIs #55

Closed
koshilife opened this issue Jul 10, 2022 · 1 comment
Closed

support for new Routing Form APIs #55

koshilife opened this issue Jul 10, 2022 · 1 comment

Comments

@koshilife
Copy link
Owner

We are going to support the following new Routing Forms API.

Release Notes July 9:
We have added the routing_form_submission.created webhook subscription to allow users to be notified and take appropriate action based on form details when a routing form is submitted. The routing_form_submission.created webhook payload contains the Routing Form Submission resource and the routing form submission link is now included in the Invitee resource. In addition to the Webhook, we have also added complementary APIs to retrieve the Routing Form details

@koshilife koshilife changed the title support for new Routing Forms API support for new Routing Form APIs Jul 14, 2022
koshilife added a commit that referenced this issue Jul 16, 2022
koshilife added a commit that referenced this issue Jul 16, 2022
koshilife added a commit that referenced this issue Jul 16, 2022
…RoutingForm#submissions, and RoutingFormSubmission#fetch.
koshilife added a commit that referenced this issue Jul 16, 2022
…RoutingForm#submissions, and RoutingFormSubmission#fetch.
koshilife added a commit that referenced this issue Jul 16, 2022
@koshilife
Copy link
Owner Author

I have released it as version 0.12.0.

You can use like this:

client = Calendly::Client.new 'YOUR_TOKEN'
me = client.me
org = me.current_organization

# get routing forms
forms = org.routing_forms

# get routing form submissions
form = forms.first
subs = form.submissions

# create a webhook to listen 'routing_form_submission.created' event.
url = 'https://example.com'
org_webhook = org.create_webhook(url, ['routing_form_submission.created'])

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant