Skip to main content

API doesn't work

The API does not work. I've been trying for hours now. Neither the BCC mails create a request nor the API, although I have set everything up according to the API documentation, I always get an Unauthenticated. (HTTP status code: 401) error. What really surprises me is that after creating a campaign in the popup where I can select the automation, I am told to create an API key. I have done that and I have read the necessary permissions in the API documentation to create a request. So I selected the rights, saved the API key and continued with the setup in Zapier. The documentation no longer even mentions the generated API key. It exists, but does not need to be inserted anywhere according to the documentation. I find that strange. When I open the settings of the previously created API key, I can see the permissions again and none are ticked. If I select the desired rights again, click on save and open the settings again, all rights are deselected again.

Status: Rejected7 comments

Log in to comment and vote

Comments7

  • mannie@embedmyreviews.com

    Team•

    Aug 22, 2024

    Not a bug. Tested via Zapier and the API works fine. Based on the users provided screenshot the issue is with how the user is passing the token via Zapier.

    Tokens should be passed in the headers section (see screenshot).

    With Zapier the following two headers should be passed:

    1. Key: Authorization Value: Bearer Your Token
    2. Key: Accept Value: application/json

  • mannie@embedmyreviews.com

    Team•

    Aug 12, 2024

    @Karsten Rech hey, are you still having issues or have you been able to resolve this issue?

    • rg Team

      •

      Aug 12, 2024

      Hi @mannie@embedmyreviews.com, I can't find the error. Unfortunately, it still doesn't work for me.

      • mannie@embedmyreviews.com

        Team•

        Aug 16, 2024

        can you send a screenshot of the error please? I’m 100% certain this is an issue with how you are sending the request via Zapier. The API is heavily used by other customers and even via Zapier so this is likely how you are sending the request.

        I need more information to be able to help otherwise it is difficult to see what is causing the issue.

      • mannie@embedmyreviews.com

        Team•

        Aug 21, 2024

        did you see my last reply? I would need more information to be able to help you with this issue.

        • rgTeam

          •

          Aug 22, 2024

          I have sent you more information in the support chat.

  • mannie@embedmyreviews.com

    Team•

    Aug 8, 2024

    Hi,

    So I have tested this by creating an API token and sending a review request via the API using the generated token. See below on the permissions that need to be selected.

    The token is important as without this and the right permission: View, create, edit and delete request you will get 401.

    Now it looks like in Zapier you are not including the token which is why the error is occurring. The API is working so I don’t think this is a bug instead I recommend opening chat and asking via support to help further.