How can you send the submitted information in a webform to a 3rd party API?
I have read this: https://www.drupal.org/docs/8/modules/webform/webform-cookbook/how-to-programmatically-create-and-update-a-submission
But it looks this recipe is more about updating a submission rather that doing requests.
Any help?
Note:
I realized I can use handlers for submission, but need to use a refresh authentication token for submission. Are there any hooks for that?
I'm looking for hooks grab the data submitted from a specific form, then creates a POST request to create an access code and finally makes a POST request for a 3rd party API.
Using Zoho CRM API