# Unable to get information from mailinator API with Postman

**URL:** <https://community.postman.com/t/unable-to-get-information-from-mailinator-api-with-postman/57231>\
**Category:** Help Hub\
**Tags:** authentication\
**Created:** [February 2, 2024, 12:47pm UTC](https://community.postman.com/t/unable-to-get-information-from-mailinator-api-with-postman/57231 "2024-02-02T12:47:29Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![yordanstanchev](https://avatars.discourse-cdn.com/v4/letter/y/ecccb3/32.png) [@yordanstanchev](https://community.postman.com/u/yordanstanchev)\
**Post date:** [February 2, 2024, 12:47pm UTC](https://community.postman.com/t/unable-to-get-information-from-mailinator-api-with-postman/57231/1 "2024-02-02T12:47:30Z")

</div>

Hello,  
I’m trying to get information from mailinator API with Postman. The request is GET [https://mailinator.com/api/v2/domains/private/inboxes/\*?token=[myToken]](https://mailinator.com/api/v2/domains/private/inboxes/*?token=%5BmyToken%5D) (I’m using Public - Free plan)  
In Postman (desktop application) result is 403 Forbiden. Same request returns expected response (200) when I open it in browser or using web version of Postman (with Cloud agent). It was working fine also in Postman app few weeks ago, but stops… May be the problem is in Cloudflare, I don’t know… Is there anyone with similar problem and is there solution for it?

---

<div class="post-metadata">

**Author:** ![gbadebo-bello](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/gbadebo-bello/32/12175_2.png) [@gbadebo-bello](https://community.postman.com/u/gbadebo-bello)\
**Post date:** [February 2, 2024, 12:55pm UTC](https://community.postman.com/t/unable-to-get-information-from-mailinator-api-with-postman/57231/2 "2024-02-02T12:55:06Z")

</div>

Hi @yordanstanchev. Welcome to the Postman Community.

This doesn’t look like it is an issue with Postman. I will recommend that you carefully go over the API documentation to see what you’re missing. A 403 status code indicates that the server is working as expected but can not grant you access to the specified resource. Ensure you have Authorization properly setup i.e your tokens are not expired, you’re granted the right authorization scopes, you’re querying the right resource, etc

---

<div class="post-metadata">

**Author:** ![yordanstanchev](https://avatars.discourse-cdn.com/v4/letter/y/ecccb3/32.png) [@yordanstanchev](https://community.postman.com/u/yordanstanchev)\
**Post date:** [February 2, 2024, 1:16pm UTC](https://community.postman.com/t/unable-to-get-information-from-mailinator-api-with-postman/57231/3 "2024-02-02T13:16:17Z")

</div>

Authorization is this query parameter “token”. I get the request from desktop Postman (where it returns 403) and paste it in browser and it works. When I try with web version, it works with Cloud agent and doesn’t work with Desktop agent…

---

<div class="post-metadata">

**Author:** ![michaelderekjones](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/michaelderekjones/32/14819_2.png) [@michaelderekjones](https://community.postman.com/u/michaelderekjones)\
**Post date:** [February 2, 2024, 3:49pm UTC](https://community.postman.com/t/unable-to-get-information-from-mailinator-api-with-postman/57231/4 "2024-02-02T15:49:56Z")

</div>

Where did you get the token from?

As far as I’m aware, the Mailinator Public Free plan doesn’t allow API access.

Are you sure you aren’t on the Verified Pro Subscription?

If it’s working in the Web Version of Postman, but not in the Desktop then it could potentially be something network related, but a 403 error usually means you can communicate with the server and there is something wrong with the authentication\request.

How are you storing the myToken variable? Collection\Environment? If using Environment are you using the initial or current value. Remembering that current values do not sync.

Check the console log to see what is actually being sent. Does the URL include your token as you would expect?

---

<div class="post-metadata">

**Author:** ![yordanstanchev](https://avatars.discourse-cdn.com/v4/letter/y/ecccb3/32.png) [@yordanstanchev](https://community.postman.com/u/yordanstanchev)\
**Post date:** [February 2, 2024, 4:26pm UTC](https://community.postman.com/t/unable-to-get-information-from-mailinator-api-with-postman/57231/5 "2024-02-02T16:26:09Z")

</div>

![Capture](https://us1.discourse-cdn.com/getpostman/original/3X/7/d/7db6df50b6935d522f89b9018052bc335e9d7540.png)  
First request (200) is with Cloud agent, second one is with Desktop agent (Desktop agent works fine with other API). Only difference between requests is Postman-Token in the request headers and user agent to execute the request…

---

<div class="post-metadata">

**Author:** ![michaelderekjones](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/michaelderekjones/32/14819_2.png) [@michaelderekjones](https://community.postman.com/u/michaelderekjones)\
**Post date:** [February 4, 2024, 1:35pm UTC](https://community.postman.com/t/unable-to-get-information-from-mailinator-api-with-postman/57231/6 "2024-02-04T13:35:57Z")

</div>

Expand the request out in the console logs. Check everything to see if there are any differences. Including headers, etc.

The only real difference is that one request is going straight from the Postman Cloud, and the other request is going locally through the Desktop Agent.

If you were having network/connectivity issues with the Desktop Agent, I would expect a different status code than 403.

What is actually being returned in that response. It looks like its returning an HTML page. Is there anything in that page that might provide more information?

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/system/32/29796_2.png) [@system](https://community.postman.com/u/system)\
**Post date:** [March 5, 2024, 1:36pm UTC](https://community.postman.com/t/unable-to-get-information-from-mailinator-api-with-postman/57231/7 "2024-03-05T13:36:00Z")

</div>

Closed on March 5, 2024, 1:36pm UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
