Authentication

The Sphere API uses Bearer Authentication and API keys to authenticate your requests.

API Keys

You can view and manage your API Keys in the Sphere Dashboard. Api Keys are secret and should be rolled if you suspect it has been compromised.

To authenticate your requests, you need to include an access token in the Authorization header of your HTTP request.

Authorization Header

-H Authorization: Bearer secret_64db7acf5bbb434aa0a04d82e90b4c99

Sample Request

The following is an example request with a bearer token:

Sample Authenticated Request

curl https://api.spherepay.co/v1/customer \
  -X GET \
  -H "Authorization: Bearer secret_64db7acf5bbb434aa0a04d82e90b4c99"

Was this page helpful?