Setting Up API calls

Hello guys, I am trying to set up an API call and I keep getting this error when I try to initialize. Does anyone know why this is so?

There was an issue setting up your call.

Raw response for the API
Status code 400
{“status”:400,“message”:“WHERE parameter “auth0Id” has invalid “undefined” value”,“data”:{}}

  • Link the API documentation
  • Send screenshots of your API call in the API connector
1 Like

API docs?

Okay well you’ll want to get a new API key now but leaving that aside…

You haven’t included a request body. The docs tell you:

{
"authId": "User authID"
}

Which explains your error message where the authID is undefined.

The doc specifies that the endpoint should be GET but when I select the GET option, the “Body (JSON object, use <> for dynamic values)” section, where I need to paste the request body, disappears.