API return says auth disabled. Can I trust this return?

Hi,
my deployment Id is

026894c0-901b-4355-9f80-a6cc1ecd70bf

I believe authentication is enabled in Genesys dashboard, but when I made the following request:

curl -X POST -H "Content-Type: application/json" \
  -d '{
    "deploymentId": "026894c0-901b-4355-9f80-a6cc1ecd70bf",
    "journeyContext": {
      "customer": {
        "id": "a47a1770-1152-11ef-a9bb-5950e7bbf767",
        "idType": "cookie"
      },
      "customerSession": {
        "id": "a47a1770-1152-11ef-a9bb-5950e7bbf767",
        "type": "web"
      }
    },
    "oauth": {
      "code": "380d0b17-3adc-4037-b3fd-1550ba0a38d3",
      "redirectUri": "https://app.spotnana.com/"
    }
  }' \
  https://api.mypurecloud.de/api/v2/webdeployments/token/oauthcodegrantjwtexchange

I received the following response:

{"message":"DeploymentId 026894c0-901b-4355-9f80-a6cc1ecd70bf has authentication disabled",
"code":"unauthorized",
"status":401,
"contextId":"c39c56fc-dd6c-4704-8446-9a0b806a027c",
"details":[],"errors":[]}

The API told me auth is disabled, but I was told it is enabled. Is API return wrong? Thanks!

Hi, we do not have access to your org's data via the forum. Please open a case with Genesys Cloud Care to investigate your org's configuration if you believe the API is returning incorrect data.

Hi Xu,

You will need to open a ticket with our Care support team. The Developer forum answers questions related to our Developer APIs and Developer Tools. For individual customer errors (like the one you have above) we can not look at your records or logs. Only our Care team can do this.

Thanks,
John Carnell
Director, Developer Engagement

Then don't look at my record if you can't. My question is API related question: API return says authentication is disabled. Is it really disabled or not?

I am trying to integrate Genesys Chat. I do not have Care Support access.

If the API is telling that authentication is not enabled for the deployment, then you must have something setup incorrectly. Please review the docs on the Resource Center to verify that you've setup an OpenID integration and toggled on the Authentication options for the Web Messenger Configuration: Get started with authenticated web messaging - Genesys Cloud Resource Center

If the API response says it's disabled, it's really disabled. API responses are always assumed to be correct unless you have evidence to suggest that it's not. In that case, you'll need to report the API bug to Care. If you don't have access to Care, you will need to work with someone in your organization who is authorized for Care. If you're a contractor for a company, the company that hired you will be able to work with Care on your behalf.

Hi Crespino,
The doc you suggested mentioned one step:
...
3. In your Messenger configuration, enable Authentication.
...

Do happen to have a screenshot of Genesys dashboard UI for this step 3? I need to forward this to the person who manages Genesys chat, so that he/she can verify against this step. The screenshot can help me help him/her zero in on where to look. I don't have access to Genesys Dashboard. Thanks a lot!

Got it! Thank you!

It is referenced in the link at the end of step 4 in your screenshot: Configure Messenger - Genesys Cloud Resource Center. That article should tell them exactly how to get to that setting.

This blueprint is a good source?

Yes, that give you a specific example of setting up authenticate web messaging with Okta.