Generate Token using API

Hi Team,

Could you please let me know ho to generate token using API.
I have user credentials, using the same i need to generate Token.

the Generated Token need to be passed to another API, how this can be done.

when you say generate token , which service are you referring to, what is you target system for ex: Reltio, salesforce etc