Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Page Tree Search

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

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

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

Body

Code Block
{
    "uaid":"2017000162"
}

Response

One player play history is returned per call.

Code Block
{
    "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.

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

Panel
bgColor#FFFFFF

On This Page:

Table of Contents
Panel
bgColor#FFFFFF

More Reading:

https://worldtennisnumber.com/

Quick Reference: World Tennis Number