Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Current »

Overview

You can lookup a USTA player membership status given a USTA uaid. API will provide membership status information i.e. active, inactive, cancelled etc.

API

This API is called once per player.

URI

POST https://api-ustaconnect.usta.com/v1/api-public/membership/status

Body

{
    "uaid":"2017000162"
}

Response

One player play history is returned per call.

{
    "membershipStatus": "ACTIVE"
}


Sample Curl

You must first retrieve an access token using Bound or Unbound method. See Cognito 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/oauth2/token endpoint.

curl --location 'https://api-ustaconnect.usta.com/v1/api-public/membership/status' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer eyJraW...
--data '{
    "uaid":"2017000162"
}'

  • No labels