Currently we are using zoom into our application as a crm integration and we use to authenticate now we are currently working on with where when the meeting ends in the zoom we need a webhook event to be trigeered .
but here the issue is when i authenticate the zoom with my production there will be inetgration entity created with the tokens so i need to pass the inetgration id to the webhook and when the meeting ended event triggeres it should trigger the inetgration id also so that it would be useful for me to take the tokens for the other api (fetch meeting details which needs the acess token) so i need to fetch from my entity but it will have lot of records and there is no mapping between the zoom and my product so inetgration id wpould be good mapping
And also as a local testing webhook event i subscribed to a event with the help and ngrok and im getting the meeting ended event details also but the issue is i need to fetch the meeting details with the id and i need the tokens for that which is in my entity and there is not mapping to fetch that
And also as i mentioned im using ngrok for local testing and its a static but i want a dynamic where i can pass the integration id to the zoom webhook subscription and it will trigger that this event is mapped with this integration like that
so i tried to write an api for that and it throws this error
https://api.zoom.us/v2/webhook/subscriptions
this is the request payload
{
"event_subscription": {
“url”: “https://integrations.api.paperflite.dev/zoom/events?integration_id=test123”,
“events”: [
“meeting.ended”,
“meeting.started”,
“recording.transcript_completed”
]
}
}
but it throws error
{
"code": 2300,
“message”: “This API endpoint is not recognized.”
}
so how to achieve this now please help me please

