Search code examples
access-token

Any POST or GET requests from the Revue API return 401


I am trying to add subscribers to my newsletter using the Revue api. According to the documentation, I need to add a header called 'Authorization' and value 'Token MY-TOKEN' in my requests.

In order to test out the API I am using Postman as seen in the screenshot below:

enter image description here

Any request I do to any url, ends up with a 401.

What am I missing here? The token value is copy pasted from the bottom of https://www.getrevue.co/app/integrations ('Your API key is xyz') as the documentation mentions. Double checked that there are no extra spaces added.


Solution

  • If you have the following when you log in to Revue

    "We are reviewing your account."

    You will not be able to make API calls and will get a 401.

    I've talked to support on the issue and unfortunately, it's undocumented at the moment.

    getrevue dashboard "we are reviewing your account"

    Took nearly a week for me to get reviewed but it's working fine now. It is at the end of the Christmas period so I am hoping they are only temporarily that slow at reviewing accounts.