Customize organizations/{id}/invitations URL to initator domain

We have several organizations that have multiple domains where they can log in.

I would like to customize their invitation email created with the management API Auth0 Management API v2 to contain the domain that the managment request was send from. Currently I only found out how I can customize the URL to something organization specific

Email template

{{ organization.metadata.app_url}}{{ url | remove: '${my_login_uri}' }}

I was hoping for something like

curl -L 'https://login.auth0.com/api/v2/organizations/:id/invitations' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{"inviter":{"name":"string"},"invitee":{"email":"user@example.com"},"client_id":"string","connection_id":"string",
"app_metadata":{my_url: "https://example.com"},
"user_metadata":{},"ttl_sec":0,"roles":["string"],"send_invitation_email":true}'

email template

{{ application.my_url}}{{ url | remove: '${my_login_uri}' }}