Documentation Index
Fetch the complete documentation index at: https://docs.mylifeforce.com/llms.txt
Use this file to discover all available pages before exploring further.
To obtain your required Auth0 values (AUTH0_DOMAIN, CLIENT_ID, CLIENT_SECRET, AUDIENCE) or the BASE_URL, please contact our team at tech-support@mylifeforce.com.
Once you have these values, request a Machine-to-Machine (M2M) token via Auth0:
curl --request POST \
--url "https://AUTH0_DOMAIN/oauth/token" \
--header "content-type: application/json" \
--data '{
"grant_type": "client_credentials",
"client_id": "CLIENT_ID",
"client_secret": "CLIENT_SECRET",
"audience": "AUDIENCE"
}'
A successful response includes an access_token. Use this token as follows:
curl --request POST \
--header "Authorization: Bearer ACCESS_TOKEN" \
"https://www.mylifeforce.com/api/m2m/whoami"
This call shows the token’s validity by returning identifying info about the machine client.