Team

Invite a player to an existing team.

Invite a player to an existing team if he was not already invited.

post/teams/{id}/invite

Request

  • Base URL: https://api.spash.com
  • URL: https://api.spash.com/teams/{id}/invite
  • Auth: one of:
    • API key in header Authorization
    • HTTP bearer

Path parameters

idstring required

Team identifier

Request body

namestring required
trigramstring
registerCreatorboolean
primaryColorstring
secondaryColorstring
externalDatastring[] nullable
logoImageUrlstring nullable

Url of the logo image. To remove, set it to null.

tagsstring[]

Example request

{
  "registerCreator": true,
  "primaryColor": "#FFFFFF",
  "secondaryColor": "#FFFFFF",
  "sportCenter": {
    "coordinates": [
      0,
      0
    ],
    "visible": true,
    "pedroVersionTarget": "undefined",
    "timeZone": "Europe/Paris",
    "durationChoices": [
      3600,
      5400,
      7200
    ],
    "language": "en",
    "distanceUnite": "km",
    "country": "https://example.com/",
    "tablets": [
      "https://example.com/"
    ],
    "tags": [
      "https://example.com/"
    ]
  },
  "tags": [
    "https://example.com/"
  ]
}

Response

Invitation sent.

Changes

No recorded changes to this operation across all 1 revision of this API.