API Management URL parameter
To use parameters in the URL you can define an easy policy.
For example we do here a /get and search for the Email.
<rewrite-uri template="@($"/optin/{context.Request.MatchedParameters["email"]}")" />
Find out more about Azure.