/
Fetch Player Safeplay Status
Fetch Player Safeplay Status
Overview
You can lookup a USTA player safe play status given a email or UAID. API will provide safe play status i.e. if approved or not.
API
This API is called once per player.
URI
Production:
POST https://api-ustaconnect.usta.com/v1/usta-service/customers/safeplay/approval/isApproved
Stage:
POST https://stage-api-ustaconnect.usta.com/v1/usta-service/customers/safeplay/approval/isApproved
Body
By Email
{
"email": "test@mailinator.com"
}
By UAID
{
"uaid": "201842xxxx"
}
Response
{
"isApproved": true
}
Sample Curl
You must first retrieve an access token using Bound or Unbound method. See STAGE2 - OKTA Auth0 Client Integration Guide for more on how to request a token.
The following is a sample curl to retrieve a player membership status.
Where:
--header 'Authorization: Bearer eyJraW...
specifies the token that you retrieved using the https://account-ustaconnect.usta.com/oauth/token endpoint.
curl --location 'https://api-ustaconnect.usta.com/v1/usta-service/customers/safeplay/approval/isApproved' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer eyJraW...
--data '{
"email": "test@mailinator.com"
}'
On This Page:
, multiple selections available,
Related content
Stage USTA Connect - OKTA Auth0 Client Integration Guide
Stage USTA Connect - OKTA Auth0 Client Integration Guide
Read with this
Fetch A Player Membership Status
Fetch A Player Membership Status
More like this
STAGE - OKTA Auth0 Client Integration Guide
STAGE - OKTA Auth0 Client Integration Guide
Read with this
Fetch A Player Limited Profile
Fetch A Player Limited Profile
More like this
Production - OKTA Auth0 Client Integration Guide
Production - OKTA Auth0 Client Integration Guide
Read with this
Quick Reference: Retrieve SafePlay Info
Quick Reference: Retrieve SafePlay Info
More like this