How to do webhook call in 2 steps - 1. Token generation and 2. Calling actual callback URL

While implementing JIRA webhook with an external application, how to give a REST API call to generate an authentication token for the external application and then call an actual callback URL.

Is there any way?