This route requires admin authentication.

Step 1. Add your api key to the request headers.

API_KEY=API_KEY

We are using axios in this example, but you can use whatever library you prefer.

Step 2. Let’s insert the test endpoint.

You can use this endpoint to check if your api key is working.

curl --request POST \
--url https://protocol-staging.int.lumx.io/v1/wagmi \
--header 'Bearer: $API_KEY'

You will receive a status 200 with the message below.

"Congratulations <CLIENT_NAME>! Let's start our journey together."

If you completed all the steps above, you can advance to our next recipe.

Any problems during this recipe? Check some possible troubleshooting.