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:

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