Can't get Hooktheory Api activkey

I tried to use hooktheory api, but to access it I need my activkey.
So, I tried to get my activkey by following the api documentation ( but as result I got an empty object without getting any errors.

Here is my code:
async function getData() {
try {
const entry = ‘’;
const auth_prefix = ‘users/auth’;
const response = await fetch(entry+auth_prefix, {
method: ‘POST’,
headers: {
‘Content-Type’ : ‘application/json’,
‘Accept’ : ‘application/json’
mode: ‘cors’,
body: JSON.stringify({
username: “Nenino2”,
password: “***********”
const data = await JSON.stringify(response);
} catch (error) {

Am I doing it right? Please help.

I found my error:
I used the wrong Json to javascript object parse method:
I used JSON.stringify(response) instead of response.json();

This topic can be closed!