API | Teams

Contains all the functionality to access team details, and retrieves a paged list of teams by an event, division, status, or paid.

Team Details

Retrieves a team's details including additional data related to the team.

Endpoint

GET https://exposureevents.com/api/v1/teams

Parameters

Name Type Default Required Description
Id integer The team id.
includes enumeration Additional data to be included in the response. Values should be separated by commas.
{
  "Team": {
    "Id": 1393,
    "Sport": 0,
    "ParentId": 1,
    "Name": "Indiana Elite",
    "Gender": 1,
    "Paid": false,
    "Status": 1,
    "Division": {
      "Id": 22,
      "Name": "17"
    },
    "Address": {
      "City": "Gilbert",
      "Latitude": 36.1849073,
      "Longitude": -115.1230314
    },
    "Players": [
      {
        "Id": 22,
        "PlayerId": 0,
        "ParentId": 1,
        "Number": 22,
        "FirstName": "Bob",
        "LastName": "Smith",
        "ExternalPlayerId": "XDLG234L",
        "Address": {
          "StreetAddress": "3934 E Battala Avenue",
          "ExtendedAddress": "Suite 144",
          "City": "Gilbert",
          "StateRegion": "Arizona",
          "PostalCode": "85297"
        },
        "Birthdate": "10/2/2026",
        "HomePhone": "555-555-5555",
        "MobilePhone": "555-555-5555",
        "Email": "[email protected]",
        "Meta": [
          {
            "Name": "T-Shirt Size",
            "Value": "XL"
          }
        ],
        "BirthYear": 2017,
        "Height": "6-6",
        "Weight": 200,
        "School": "New Albany High School",
        "GraduationYear": 2008,
        "Grade": "6th",
        "Position": "Guard",
        "TravelTeam": "Indiana Elite",
        "ACTScore": 36,
        "SATScore": 1600,
        "GPA": 4.0,
        "Status": "Active"
      }
    ],
    "Coaches": [
      {
        "Id": 22,
        "CoachId": 0,
        "Type": 2,
        "FirstName": "Bob",
        "LastName": "Smith",
        "Address": {
          "StreetAddress": "3934 E Battala Avenue",
          "ExtendedAddress": "Suite 144",
          "City": "Gilbert",
          "StateRegion": "Arizona",
          "PostalCode": "85297"
        },
        "HomePhone": "555-555-5555",
        "MobilePhone": "555-555-5555",
        "FaxPhone": "555-555-5555",
        "WorkPhone": "555-555-5555",
        "Email": "[email protected]",
        "ParentId": 1
      }
    ],
    "Pools": [
      {
        "Pool": {
          "Id": 100,
          "Name": "A",
          "Label": "Super Teams",
          "Division": {
            "Id": 22,
            "Name": "17"
          }
        },
        "Number": 1
      }
    ],
    "Season": {
      "Id": 310,
      "StartYear": 2025,
      "EndYear": 2026,
      "Session": "Fall",
      "SeasonDivisionId": 41,
      "SeasonDivision": "17U"
    }
  }
}
<Response xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
  <Team>
    <Address>
      <City>Gilbert</City>
      <Latitude>36.1849073</Latitude>
      <Longitude>-115.1230314</Longitude>
    </Address>
    <Coaches>
      <Coach>
        <Address>
          <City>Gilbert</City>
          <ExtendedAddress>Suite 144</ExtendedAddress>
          <PostalCode>85297</PostalCode>
          <StateRegion>Arizona</StateRegion>
          <StreetAddress>3934 E Battala Avenue</StreetAddress>
        </Address>
        <CoachId>0</CoachId>
        <Email>[email protected]</Email>
        <FaxPhone>555-555-5555</FaxPhone>
        <FirstName>Bob</FirstName>
        <HomePhone>555-555-5555</HomePhone>
        <Id>22</Id>
        <LastName>Smith</LastName>
        <MobilePhone>555-555-5555</MobilePhone>
        <ParentId>1</ParentId>
        <Type>2</Type>
        <WorkPhone>555-555-5555</WorkPhone>
      </Coach>
    </Coaches>
    <Division>
      <Id>22</Id>
      <Name>17</Name>
    </Division>
    <Gender>1</Gender>
    <Id>1393</Id>
    <Name>Indiana Elite</Name>
    <Paid>false</Paid>
    <ParentId>1</ParentId>
    <Players>
      <Player>
        <ACTScore>36</ACTScore>
        <Address>
          <City>Gilbert</City>
          <ExtendedAddress>Suite 144</ExtendedAddress>
          <PostalCode>85297</PostalCode>
          <StateRegion>Arizona</StateRegion>
          <StreetAddress>3934 E Battala Avenue</StreetAddress>
        </Address>
        <BirthYear>2017</BirthYear>
        <Birthdate>10/2/2026</Birthdate>
        <Email>[email protected]</Email>
        <ExternalPlayerId>XDLG234L</ExternalPlayerId>
        <FirstName>Bob</FirstName>
        <GPA>4</GPA>
        <Grade>6th</Grade>
        <GraduationYear>2008</GraduationYear>
        <Height>6-6</Height>
        <HomePhone>555-555-5555</HomePhone>
        <Id>22</Id>
        <LastName>Smith</LastName>
        <Meta>
          <Meta>
            <Name>T-Shirt Size</Name>
            <Value>XL</Value>
          </Meta>
        </Meta>
        <MobilePhone>555-555-5555</MobilePhone>
        <Number>22</Number>
        <ParentId>1</ParentId>
        <PlayerId>0</PlayerId>
        <Position>Guard</Position>
        <SATScore>1600</SATScore>
        <School>New Albany High School</School>
        <Status>Active</Status>
        <TravelTeam>Indiana Elite</TravelTeam>
        <Weight>200</Weight>
      </Player>
    </Players>
    <Pools>
      <TeamPool>
        <Number>1</Number>
        <Pool>
          <Division>
            <Id>22</Id>
            <Name>17</Name>
          </Division>
          <Id>100</Id>
          <Label>Super Teams</Label>
          <Name>A</Name>
        </Pool>
      </TeamPool>
    </Pools>
    <Season>
      <EndYear>2026</EndYear>
      <Id>310</Id>
      <SeasonDivision>17U</SeasonDivision>
      <SeasonDivisionId>41</SeasonDivisionId>
      <Session>Fall</Session>
      <StartYear>2025</StartYear>
    </Season>
    <Sport>0</Sport>
    <Status>1</Status>
  </Team>
</Response>

Teams

Retrieves a paged list of teams.

Endpoint

GET https://exposureevents.com/api/v1/teams

Parameters

Name Type Default Required Description
page integer 1
pagesize integer 50
eventid integer The event id of the team (required if no division id).
divisionid integer The division id of the team (required if no event id).
teamids array The ids of one or more teams.
status enumeration The status of the team.
paid boolean If supplied, show teams from event settings is ignored
includes enumeration Additional data to be included in the response. Values should be separated by commas.
The season include returns the team's registration for the event's season (season id, start and end year, session, season division id and season division name). A team linked to a parent team returns the parent team's season. Teams without a season registration omit the season.
{
  "Teams": {
    "Results": [
      {
        "Id": 1393,
        "Sport": 0,
        "ParentId": 1,
        "Name": "Indiana Elite",
        "Gender": 1,
        "Paid": false,
        "Status": 1,
        "Division": {
          "Id": 22,
          "Name": "17"
        },
        "Address": {
          "City": "Gilbert",
          "Latitude": 36.1849073,
          "Longitude": -115.1230314
        },
        "Players": [
          {
            "Id": 22,
            "PlayerId": 0,
            "ParentId": 1,
            "Number": 22,
            "FirstName": "Bob",
            "LastName": "Smith",
            "ExternalPlayerId": "XDLG234L",
            "Address": {
              "StreetAddress": "3934 E Battala Avenue",
              "ExtendedAddress": "Suite 144",
              "City": "Gilbert",
              "StateRegion": "Arizona",
              "PostalCode": "85297"
            },
            "Birthdate": "10/2/2026",
            "HomePhone": "555-555-5555",
            "MobilePhone": "555-555-5555",
            "Email": "[email protected]",
            "Meta": [
              {
                "Name": "T-Shirt Size",
                "Value": "XL"
              }
            ],
            "BirthYear": 2017,
            "Height": "6-6",
            "Weight": 200,
            "School": "New Albany High School",
            "GraduationYear": 2008,
            "Grade": "6th",
            "Position": "Guard",
            "TravelTeam": "Indiana Elite",
            "ACTScore": 36,
            "SATScore": 1600,
            "GPA": 4.0,
            "Status": "Active"
          }
        ],
        "Coaches": [
          {
            "Id": 22,
            "CoachId": 0,
            "Type": 2,
            "FirstName": "Bob",
            "LastName": "Smith",
            "Address": {
              "StreetAddress": "3934 E Battala Avenue",
              "ExtendedAddress": "Suite 144",
              "City": "Gilbert",
              "StateRegion": "Arizona",
              "PostalCode": "85297"
            },
            "HomePhone": "555-555-5555",
            "MobilePhone": "555-555-5555",
            "FaxPhone": "555-555-5555",
            "WorkPhone": "555-555-5555",
            "Email": "[email protected]",
            "ParentId": 1
          }
        ],
        "Pools": [
          {
            "Pool": {
              "Id": 100,
              "Name": "A",
              "Label": "Super Teams",
              "Division": {
                "Id": 22,
                "Name": "17"
              }
            },
            "Number": 1
          }
        ],
        "Season": {
          "Id": 310,
          "StartYear": 2025,
          "EndYear": 2026,
          "Session": "Fall",
          "SeasonDivisionId": 41,
          "SeasonDivision": "17U"
        }
      }
    ],
    "Page": 1,
    "PageSize": 50,
    "Total": 1
  }
}
<Response xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
  <Teams>
    <Page>1</Page>
    <PageSize>50</PageSize>
    <Results>
      <Team>
        <Address>
          <City>Gilbert</City>
          <Latitude>36.1849073</Latitude>
          <Longitude>-115.1230314</Longitude>
        </Address>
        <Coaches>
          <Coach>
            <Address>
              <City>Gilbert</City>
              <ExtendedAddress>Suite 144</ExtendedAddress>
              <PostalCode>85297</PostalCode>
              <StateRegion>Arizona</StateRegion>
              <StreetAddress>3934 E Battala Avenue</StreetAddress>
            </Address>
            <CoachId>0</CoachId>
            <Email>[email protected]</Email>
            <FaxPhone>555-555-5555</FaxPhone>
            <FirstName>Bob</FirstName>
            <HomePhone>555-555-5555</HomePhone>
            <Id>22</Id>
            <LastName>Smith</LastName>
            <MobilePhone>555-555-5555</MobilePhone>
            <ParentId>1</ParentId>
            <Type>2</Type>
            <WorkPhone>555-555-5555</WorkPhone>
          </Coach>
        </Coaches>
        <Division>
          <Id>22</Id>
          <Name>17</Name>
        </Division>
        <Gender>1</Gender>
        <Id>1393</Id>
        <Name>Indiana Elite</Name>
        <Paid>false</Paid>
        <ParentId>1</ParentId>
        <Players>
          <Player>
            <ACTScore>36</ACTScore>
            <Address>
              <City>Gilbert</City>
              <ExtendedAddress>Suite 144</ExtendedAddress>
              <PostalCode>85297</PostalCode>
              <StateRegion>Arizona</StateRegion>
              <StreetAddress>3934 E Battala Avenue</StreetAddress>
            </Address>
            <BirthYear>2017</BirthYear>
            <Birthdate>10/2/2026</Birthdate>
            <Email>[email protected]</Email>
            <ExternalPlayerId>XDLG234L</ExternalPlayerId>
            <FirstName>Bob</FirstName>
            <GPA>4</GPA>
            <Grade>6th</Grade>
            <GraduationYear>2008</GraduationYear>
            <Height>6-6</Height>
            <HomePhone>555-555-5555</HomePhone>
            <Id>22</Id>
            <LastName>Smith</LastName>
            <Meta>
              <Meta>
                <Name>T-Shirt Size</Name>
                <Value>XL</Value>
              </Meta>
            </Meta>
            <MobilePhone>555-555-5555</MobilePhone>
            <Number>22</Number>
            <ParentId>1</ParentId>
            <PlayerId>0</PlayerId>
            <Position>Guard</Position>
            <SATScore>1600</SATScore>
            <School>New Albany High School</School>
            <Status>Active</Status>
            <TravelTeam>Indiana Elite</TravelTeam>
            <Weight>200</Weight>
          </Player>
        </Players>
        <Pools>
          <TeamPool>
            <Number>1</Number>
            <Pool>
              <Division>
                <Id>22</Id>
                <Name>17</Name>
              </Division>
              <Id>100</Id>
              <Label>Super Teams</Label>
              <Name>A</Name>
            </Pool>
          </TeamPool>
        </Pools>
        <Season>
          <EndYear>2026</EndYear>
          <Id>310</Id>
          <SeasonDivision>17U</SeasonDivision>
          <SeasonDivisionId>41</SeasonDivisionId>
          <Session>Fall</Session>
          <StartYear>2025</StartYear>
        </Season>
        <Sport>0</Sport>
        <Status>1</Status>
      </Team>
    </Results>
    <Total>1</Total>
  </Teams>
</Response>

Create Team

Creates a new division team.

Endpoint

POST https://exposureevents.com/api/v1/teams

Parameters

Name Type Default Required Description
eventid integer The event ID.
divisionid integer The division ID.
name string The name of the participant.
age enumeration The age of the participant.
grade enumeration The grade of the participant.
externalteamid string External team ID
gender enumeration The gender of the participant.
paid boolean true Marks the team as paid.
status enumeration The event status of the participant.
address.city string (100)
address.stateregion string (100)
address.postalcode string (10)
notes string Internal notes for a team.
website string The team website, must start with http://.
twitterhandle string The Twitter handle of the team, exclude @ sign.
abbreviation string
coaches array (5) An array of coaches for the team.
coaches.primary boolean false Primary contact of team
coaches.type enumeration The type of cpach.
coaches.firstname string (100)
coaches.lastname string (100)
coaches.city string (100)
coaches.stateregion string (100)
coaches.postalcode string (10)
coaches.status enumeration The roster status of the player.
players array (20) An array of players for the team.
players.firstname string (100)
players.lastname string (100)
players.city string (100)
players.stateregion string (100)
players.postalcode string (10)
players.position string (100)
players.height string (100)
players.weight integer (3)
players.gradudationyear integer (4)
players.grade string (100)
players.school string (100)
players.number integer (3)
players.status enumeration The roster status of the player.
{
  "DivisionId": 1000,
  "Name": "Team Exposure",
  "Gender": 2,
  "Paid": true,
  "Status": 1,
  "Address": {
    "City": "Louisville",
    "StateRegion": "KY",
    "PostalCode": "40205"
  },
  "Players": [
    {
      "ExternalPlayerId": "P1",
      "FirstName": "Anderson",
      "LastName": "Ginkins",
      "Email": "[email protected]",
      "Phone": "5023548897",
      "Number": "23",
      "Status": "Active"
    }
  ],
  "Coaches": [
    {
      "Primary": true,
      "ExternalCoachId": "C1",
      "FirstName": "Anderson",
      "LastName": "Ginkins",
      "Email": "[email protected]",
      "Phone": "5023548897",
      "Status": "Active",
      "Type": 7
    }
  ],
  "Notes": "Team needs a refund",
  "Website": "https://exposureevents.com",
  "TwitterHandle": "exposurebball",
  "Abbreviation": "TE",
  "ExternalTeamId": "45465gG",
  "InstagramHandle": "exposurebball",
  "FacebookPage": "http://facebook.com/exposurebball"
}
<Request xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
  <Abbreviation>TE</Abbreviation>
  <Address>
    <City>Louisville</City>
    <PostalCode>40205</PostalCode>
    <StateRegion>KY</StateRegion>
  </Address>
  <Coaches>
    <Coach>
      <Email>[email protected]</Email>
      <ExternalCoachId>C1</ExternalCoachId>
      <FirstName>Anderson</FirstName>
      <LastName>Ginkins</LastName>
      <Phone>5023548897</Phone>
      <Primary>true</Primary>
      <Status>Active</Status>
      <Type>7</Type>
    </Coach>
  </Coaches>
  <DivisionId>1000</DivisionId>
  <ExternalTeamId>45465gG</ExternalTeamId>
  <FacebookPage>http://facebook.com/exposurebball</FacebookPage>
  <Gender>2</Gender>
  <InstagramHandle>exposurebball</InstagramHandle>
  <Name>Team Exposure</Name>
  <Notes>Team needs a refund</Notes>
  <Paid>true</Paid>
  <Players>
    <Player>
      <Email>[email protected]</Email>
      <ExternalPlayerId>P1</ExternalPlayerId>
      <FirstName>Anderson</FirstName>
      <LastName>Ginkins</LastName>
      <Number>23</Number>
      <Phone>5023548897</Phone>
      <Status>Active</Status>
    </Player>
  </Players>
  <Status>1</Status>
  <TwitterHandle>exposurebball</TwitterHandle>
  <Website>https://exposureevents.com</Website>
</Request>
{
  "Id": 100
}
<Response xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
  <Id>100</Id>
</Response>

Update Team

Updates an existing division team.

Endpoint

PUT https://exposureevents.com/api/v1/teams

Parameters

Name Type Default Required Description
id integer The team ID. The external team ID can be used in place of this.
eventid integer The event ID.
divisionid integer The division ID.
name string The name of the participant.
age enumeration The age of the participant.
grade enumeration The grade of the participant.
externalteamid string External team ID
gender enumeration The gender of the participant.
paid boolean true Marks the team as paid.
status enumeration The event status of the participant.
address.city string (100)
address.stateregion string (100)
address.postalcode string (10)
notes string Internal notes for a team.
website string The team website, must start with http://.
twitterhandle string The Twitter handle of the team, exclude @ sign.
abbreviation string
coaches array (5) An array of coaches for the team.
coaches.primary boolean false Primary contact of team
coaches.type enumeration The type of cpach.
coaches.firstname string (100)
coaches.lastname string (100)
coaches.city string (100)
coaches.stateregion string (100)
coaches.postalcode string (10)
coaches.status enumeration The roster status of the player.
players array (20) An array of players for the team.
players.firstname string (100)
players.lastname string (100)
players.city string (100)
players.stateregion string (100)
players.postalcode string (10)
players.position string (100)
players.height string (100)
players.weight integer (3)
players.gradudationyear integer (4)
players.grade string (100)
players.school string (100)
players.number integer (3)
players.status enumeration The roster status of the player.
Updates will only occur on parameters provided in the request and will ignore updating the other parameters.
{
  "Id": 100,
  "DivisionId": 1000,
  "Name": "Team Exposure",
  "Gender": 2,
  "Paid": true,
  "Status": 1,
  "Address": {
    "City": "Louisville",
    "StateRegion": "KY",
    "PostalCode": "40205"
  },
  "Players": [
    {
      "Id": 100,
      "ExternalPlayerId": "P1",
      "FirstName": "Anderson",
      "LastName": "Ginkins",
      "Email": "[email protected]",
      "Phone": "5023548897",
      "Number": "23",
      "Status": "Active"
    }
  ],
  "Coaches": [
    {
      "Primary": true,
      "ExternalCoachId": "C1",
      "FirstName": "Anderson",
      "LastName": "Ginkins",
      "Email": "[email protected]",
      "Phone": "5023548897",
      "Status": "Active",
      "Type": 7
    }
  ],
  "Notes": "Team needs a refund",
  "Website": "https://exposureevents.com",
  "TwitterHandle": "exposurebball",
  "Abbreviation": "TE",
  "ExternalTeamId": "45465gG",
  "InstagramHandle": "exposurebball",
  "FacebookPage": "http://facebook.com/exposurebball"
}
<Request xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
  <Abbreviation>TE</Abbreviation>
  <Address>
    <City>Louisville</City>
    <PostalCode>40205</PostalCode>
    <StateRegion>KY</StateRegion>
  </Address>
  <Coaches>
    <Coach>
      <Email>[email protected]</Email>
      <ExternalCoachId>C1</ExternalCoachId>
      <FirstName>Anderson</FirstName>
      <LastName>Ginkins</LastName>
      <Phone>5023548897</Phone>
      <Primary>true</Primary>
      <Status>Active</Status>
      <Type>7</Type>
    </Coach>
  </Coaches>
  <DivisionId>1000</DivisionId>
  <ExternalTeamId>45465gG</ExternalTeamId>
  <FacebookPage>http://facebook.com/exposurebball</FacebookPage>
  <Gender>2</Gender>
  <InstagramHandle>exposurebball</InstagramHandle>
  <Name>Team Exposure</Name>
  <Notes>Team needs a refund</Notes>
  <Paid>true</Paid>
  <Players>
    <Player>
      <Email>[email protected]</Email>
      <ExternalPlayerId>P1</ExternalPlayerId>
      <FirstName>Anderson</FirstName>
      <Id>100</Id>
      <LastName>Ginkins</LastName>
      <Number>23</Number>
      <Phone>5023548897</Phone>
      <Status>Active</Status>
    </Player>
  </Players>
  <Status>1</Status>
  <TwitterHandle>exposurebball</TwitterHandle>
  <Website>https://exposureevents.com</Website>
  <Id>100</Id>
</Request>
{}
<Response xmlns:i="http://www.w3.org/2001/XMLSchema-instance" />
EVENT, TOURNAMENT AND LEAGUE MARKETING Market your event now! Submit Event