Authentication

How to authenticate your requests to the AutomagicWP API.

You'll need to authenticate your requests to access the endpoints in the AutomagicWP API. This guide explains how authentication works.

Bearer Token

When requesting resources, you will need your API key. This key is used to authenticate your requests. You can find your API key in the AutomagicWP dashboard.

Here's how to add the API key to the request header using cURL:

	curl https://automagicwp.com/api/v1/... 
  -H "Authorization: Bearer wpuh_xxx"

Always keep your API key safe and reset it if you suspect it has been compromised.