The interactive Run on the API reference
pages calls the live endpoints with an access token you paste in. The token itself is
obtained with the steps below.
Before you start
- Have your
client_idandclient_secrethandy (delivered per environment). - Make sure you have a working sandbox login (in the sandbox handoff document).
1. Generate a PKCE verifier and challenge
2. Give consent with your sandbox user
Fill in yourclient_id and the code_challenge from step 1, then Copy authorize URL
and open it in a browser:
Planning to use TIN verification? Tick the
verify:tins box so your tokens carry that scope from the start; otherwise you can add
it any time later by re-running authorize with the extra scope.
Log in and consent to the requested scopes. You will be redirected to a fake callback url that
looks something like this:
3. Exchange the code for tokens
Open Get or refresh a token, select the authorization_code example, then fill in these values and Run it:
The response includes an
access_token. Use it in step 4.
4. Make your first call
Open Look up client account by EIN (or Look up taxpayer by EIN), paste youraccess_token as the bearer credential, send a sandbox EIN such as 11-1111111, and
Run.

