Fetch USTA Player UAID

Fetch USTA Player UAID

Overview

You can lookup a USTA player uaid via email, first name , last name and DOB. If we find a match UAID will be returned.

Endpoint

Production: POST https://api-ustaconnect.usta.com/v1/usta-service/customers/players/player/match Stage: POST https://stage-api-ustaconnect.usta.com/v1/usta-service/customers/players/player/match

Request Body

Email is required field and other are optional.

{ "firstName": "Jenxxx", "lastName": "Cxxx", "email": "testxxxxx@gmail.com", "dateOfBirth": "19xx-xx-29" }

Response Body

{ "uaid": "2017000000" }

Sample Curl

You must first retrieve an access token using Bound or Unbound method. See https://ustadigital.atlassian.net/wiki/spaces/DEV/pages/1001095380 for more on how to request a token.

The following is a sample curl illustrating the contribution of a doubles matchup.

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/usta-service/customers/players/player/match' \ --header 'Content-Type: application/json' \ --header 'Authorization: Bearer eyJraW... --data '{ "firstName": "Jenxxx", "lastName": "Cxxx", "email": "testxxxxx@gmail.com", "dateOfBirth": "19xx-xx-29" }'