Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using a token instead of a username/password #12

Closed
mrd9483 opened this issue Feb 12, 2013 · 3 comments
Closed

Using a token instead of a username/password #12

mrd9483 opened this issue Feb 12, 2013 · 3 comments

Comments

@mrd9483
Copy link

mrd9483 commented Feb 12, 2013

Hello, is there a way to use a tokenized login rather than a username/password?

I want to be able to do this:

-u [email protected]/token:{YOUR_API_TOKEN}
@eneifert
Copy link
Contributor

Hi Joe,

I'm not sure, my suggestion would be to look through the documentation and see if you find anything: http://www.zendesk.com/support/api

Unfortunately I am in the process of moving to Asia right now and don't have time to take a look at this.

Best of luck,
Eric

@btsiders
Copy link

Yes, use [email protected]/token for your email address, and use your token for your password. At least, those work for me with going through the API wrapper:

ZendeskApi api = new ZendeskApi("https://yoursite.zendesk.com/api/v2", 
    "[email protected]/token", 
    "YOUR API TOKEN GOES HERE");

Good luck with the move, Eric! :-)

@eneifert
Copy link
Contributor

Cool, thanks for the useful tip!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants