How do I call my API from an Action?

How do I go about logging the response? I’m doing a console.log but it doesn’t seem to be doing anything.

const user = await axios.post(event.secrets.API_CREATE_USER, {
    body: {
      user: event.user,
    },
    headers: {
      Authorization: "Bearer " + res.data.access_token,
    },
  });
  console.log(user.data);

Cheers,
Josh