Setting token client on creation

Does anyone know how to set the client value when creating a token using curl?

Ive tried the post field client and a wild guess of name but that’s not doing the trick.

It should be this: https://github.com/spark/spark-cli/blob/abd4cf98ca16af199f7b824cdf066ba8d8357072/lib/ApiClient.js#L154

thanks @kennethlimcp, I knew I had seen an example of it somewhere just for the life of me couldn’t remember where

Hmm didnt seem to work. just sets the client to PASSWORD_ONLY.

This is an oauth thing. You have to create your own client_id. I’m working on documenting it and adding it to phpSpark