Getting the gitlab pipeline trigger token value through gitlab-ci.yml

Is it possible to get the value for the project’s trigger token? I thought it was $CI_JOB_TOKEN but that’s not it. The token I’m tying to get is much longer.

I think it can be done through the API but I don’t know how to use that yet. And I can’t find anywhere that says what the name of the variable is (if there is a variable) for it.

up this
btw if you got the answer i’d gladly have it

I didn’t find it either :frowning:

I want to use it to filter ENV deployment with trigger token (trigger token for DEV, trigger token for PROD, etc …)

Thanks !