we use the Contact Form 7 + Basic API configuration in the website on the WordPress framework.
We have an API for an external provider that needs to refresh the API token. We have a CRON or PHP code for installation, it should be combined to:
- when sending the form, initiate a token refresh, after receiving the token, send the data to the system.
Currently, the token is refreshed by Postman every 12 hours, we want to change it to the version with each lead.