# Unable to get grant's application redirect URI list

**URL:** <https://forums.nylas.com/t/unable-to-get-grants-application-redirect-uri-list/355>\
**Category:** Question and Answers\
**Created:** [August 14, 2024, 2:18am UTC](https://forums.nylas.com/t/unable-to-get-grants-application-redirect-uri-list/355 "2024-08-14T02:18:56Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![owensully](https://avatars.discourse-cdn.com/v4/letter/o/ce7236/32.png) [@owensully](https://forums.nylas.com/u/owensully)\
**Post date:** [August 14, 2024, 2:18am UTC](https://forums.nylas.com/t/unable-to-get-grants-application-redirect-uri-list/355/1 "2024-08-14T02:18:56Z")

</div>

Anyone know what this is about? this is after trying to exchange token with this url

h\_ttps://api.eu.nylas.com/v3/connect/token

```javascript
JSON.stringify({
          code: code,
          client_id: "client id"
          client_secret: process.env.NYLAS_API_KEY,
          redirect_uri: "http://localhost:3000/dashboard",
          grant_type: "authorization_code",
          code_verifier: "nylas",
        })

```

this is the body

While I’m here, I’d like to ask what I should put for redirect\_uri. Is it the same as the one I put when I’m authenticating? Or is it the URI for when the grant has been created (which url I want to redirect the user to once their auth process is finished?)

---

<div class="post-metadata">

**Author:** ![Blag](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.nylas.com/blag/32/9_2.png) [@Blag](https://forums.nylas.com/u/Blag)\
**Post date:** [August 14, 2024, 11:41am UTC](https://forums.nylas.com/t/unable-to-get-grants-application-redirect-uri-list/355/2 "2024-08-14T11:41:06Z")

</div>

Hello @owensully have your read our Quickstart guide? [Email API Quickstart: read and send email messages | Nylas Docs](https://developer.nylas.com/docs/v3/quickstart/email/#receive-a-callback-from-nylas-with-the-user%E2%80%99s-grant-id) it has samples on all of our SDKs.

And yes, you should use the same URL you used for authentication.
