Permission Denied when using API to trigger a build

I’m getting “message” : “Permission denied” using the API to trigger a build. I can GET the url fine but using a POST I get the denied response. Any suggestions?

Doh… just realised I had not substituted the token correctly. Works correctly now