Pipeline triggers for ref= tags instead of branch

want to add tag to Pipeline triggers for ref= tags (something like this name started from v2./instead of branch , My version get increase’s. Need help to complement this

For example:
curl -X POST
-F token=TOKEN
-F ref=/v2-/ \ (tag which get increased everday)
https://gitlab.com/api/v4/projects/5268799/trigger/pipeline