Authorization

In order to use the Endurance Zone API your application will need a valid API key. For security reasons different keys are required for different environments.

The API key should be used in all calls to the API by providing it in the ApiKey header.

Endpoints will return a 401 status code if the API Key provided is missing, invalid or expired.

See below for an example of an API key being used

Curl

curl --location 'https://api.test.myezrewards.com/v1/members/' \
--header 'apikey: {APIKEY}' \
--header 'Content-Type: application/json' \
--data-raw '{
"EmailAddress": "test@test.com",
"Type": "Lookup"
}

HTTP

POST /v1/members/ HTTP/1.1
Host: api.test.myezrewards.com
apikey: {APIKEY}
Content-Type: application/json
{
"EmailAddress": "test@test.com",
"Type": "Lookup"
}