Aperçu#
Cette page est générée à partir du même document OpenAPI que l'API sert à /api/v1/openapi.json : les deux concordent toujours. Chaque requête demande un jeton (authentification).
Les descriptions des champs viennent directement de la spécification, en anglais.
- GET/me
- GET/teams
- GET/teams/{teamId}
- POST/teams/{teamId}/events
- GET/teams/{teamId}/attendance
- POST/teams/{teamId}/messages
- GET/events
- GET/events/{eventId}
- PATCH/events/{eventId}
- PUT/events/{eventId}/rsvps/{playerId}
- GET/clubs
- GET/clubs/{clubId}
- GET/clubs/{clubId}/posts
- POST/clubs/{clubId}/posts
- GET/posts/feed
- GET/posts/{postId}
Compte#
La personne connectée
GET/me
curl https://teamadoo.com/api/v1/me \
-H "Authorization: Bearer $TEAMADOO_TOKEN"Exemple de réponse · 200 · Me
Champs de la réponse
Erreurs : 400, 401, 403, 404, 429. Voyez les erreurs.
Équipes#
Les équipes de la personne
GET/teams
curl https://teamadoo.com/api/v1/teams \
-H "Authorization: Bearer $TEAMADOO_TOKEN"Exemple de réponse · 200 · TeamSummary[]
Champs de la réponse
Erreurs : 400, 401, 403, 404, 429. Voyez les erreurs.
Une équipe, avec ses membres et son alignement
GET/teams/{teamId}
Pour les membres de l'équipe et les administrateurs de son club.
Paramètres
teamIdstring (uuid)chemin · obligatoireThe team
curl https://teamadoo.com/api/v1/teams/8b1d3c52-4f7e-4a8b-9c21-5d6e7f8a9b10 \
-H "Authorization: Bearer $TEAMADOO_TOKEN"Exemple de réponse · 200 · TeamDetail
Champs de la réponse
Erreurs : 400, 401, 403, 404, 429. Voyez les erreurs.
Clubs#
Les clubs où la personne a un rôle
GET/clubs
curl https://teamadoo.com/api/v1/clubs \
-H "Authorization: Bearer $TEAMADOO_TOKEN"Exemple de réponse · 200 · ClubSummary[]
Champs de la réponse
Erreurs : 400, 401, 403, 404, 429. Voyez les erreurs.
Un club, avec ses équipes
GET/clubs/{clubId}
Paramètres
clubIdstring (uuid)chemin · obligatoireThe club
curl https://teamadoo.com/api/v1/clubs/c0a8f3e1-2b4d-4c6e-8f10-a2b3c4d5e6f7 \
-H "Authorization: Bearer $TEAMADOO_TOKEN"Exemple de réponse · 200 · ClubDetail
Champs de la réponse
Erreurs : 400, 401, 403, 404, 429. Voyez les erreurs.
Événements#
Ajouter un événement ou une série hebdomadaire
POST/teams/{teamId}/events
Pour les entraîneurs et gérants de l'équipe, et les propriétaires, administrateurs et directeurs de son club. startLocal est l'heure locale dans timezone. Avec repeat, un événement est créé pour chaque jour de semaine choisi jusqu'à repeat.until. L'équipe reçoit une notification, sauf si notify vaut false.
Paramètres
teamIdstring (uuid)chemin · obligatoireThe team
Corps de la requêteEventInput
typestringobligatoireUn de : practice, game, event
titlestringfacultatifJusqu'à 80 caractères
startLocalstringobligatoireFormat : YYYY-MM-DDTHH:mm
durationMinutesintegerobligatoireDe 5 à 1440
timezonestringobligatoireJusqu'à 64 caractères
locationNamestringfacultatifJusqu'à 120 caractères
locationAddressstringfacultatifJusqu'à 200 caractères
opponentstringfacultatifJusqu'à 80 caractères
homeAwaystringfacultatifUn de : home, away
notesstringfacultatifJusqu'à 2000 caractères
arriveMinutesBeforeintegerfacultatifDe 0 à 240
repeatobjectfacultatifrepeat.weekdaysinteger[]obligatoireJusqu'à 7 éléments
repeat.untilstringobligatoireFormat : YYYY-MM-DD
notifybooleanfacultatifPar défaut : true
resourceIdstring (uuid)facultatifA saved club field to book (list_team_places); fills the place and address
locationIdstring (uuid)facultatifA saved club place (list_team_places) to copy the name and address from
forceFieldbooleanfacultatifBook the field even when it clashes (club owners and admins)
savePlacebooleanfacultatifAlso save the typed place to the club's places (club owners and admins)
livestreamobjectfacultatifLivestream link ("Watch live"); left out on a new home game: the team's default link; null: none
peut être null
livestream.urlstringobligatoireThe livestream page: Hudl, YouTube Live, Twitch, Facebook Live, Veo, LiveBarn or any https page
Jusqu'à 2048 caractères
livestream.replayDaysintegerfacultatifDays the link shows as a replay after the event (0: hide when it ends; null: 7 for services that keep replays)
De 0 à 365 · peut être null
livestream.showPublicbooleanfacultatifShow the link on the team's or club's public site too (off: only people on the team see it)
opponentColorstringfacultatifGames: the other team's color "#rrggbb" (left out: the one remembered for that opponent; null: the default)
Format : ^#?([0-9a-f]{3}|[0-9a-f]{6})$ · peut être null
curl -X POST https://teamadoo.com/api/v1/teams/8b1d3c52-4f7e-4a8b-9c21-5d6e7f8a9b10/events \
-H "Authorization: Bearer $TEAMADOO_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"type": "practice",
"startLocal": "2026-11-24T18:30",
"durationMinutes": 90,
"timezone": "America/Toronto",
"locationName": "Parc Riverside, field 2",
"arriveMinutesBefore": 15
}'Exemple de réponse · 201 · TeamEvent[]
Champs de la réponse
Erreurs : 400, 401, 403, 404, 429. Voyez les erreurs.
Les événements de toutes les équipes de la personne
GET/events
Du plus proche au plus lointain, jusqu'à 500. Par défaut, d'hier jusqu'à dans 120 jours.
Paramètres
fromstring (date-time)requête · facultatifStart of the range (ISO 8601)
tostring (date-time)requête · facultatifEnd of the range (ISO 8601)
teamIdstring (uuid)requête · facultatifOnly this team
curl "https://teamadoo.com/api/v1/events?from=2026-11-21T00%3A00%3A00Z&to=2026-11-28T00%3A00%3A00Z&teamId=8b1d3c52-4f7e-4a8b-9c21-5d6e7f8a9b10" \
-H "Authorization: Bearer $TEAMADOO_TOKEN"Exemple de réponse · 200 · TeamEvent[]
Champs de la réponse
Erreurs : 400, 401, 403, 404, 429. Voyez les erreurs.
Un événement, avec la réponse de chaque joueur
GET/events/{eventId}
Paramètres
eventIdstring (uuid)chemin · obligatoireThe event
curl https://teamadoo.com/api/v1/events/e5f6a7b8-1c2d-4e3f-9a4b-5c6d7e8f9a0b \
-H "Authorization: Bearer $TEAMADOO_TOKEN"Exemple de réponse · 200 · TeamEventDetail
Champs de la réponse
Erreurs : 400, 401, 403, 404, 429. Voyez les erreurs.
Modifier ou annuler un événement
PATCH/events/{eventId}
Pour les entraîneurs et gérants de l'équipe. Envoyez seulement ce qui change; null efface un champ texte. scope applique le changement à cet événement, à celui-ci et aux suivants, ou à toute la série. canceled: true l'annule.
Paramètres
eventIdstring (uuid)chemin · obligatoireThe event
Corps de la requêteUpdateEventInput
typestringfacultatifUn de : practice, game, event
titlestringfacultatifJusqu'à 80 caractères · peut être null
startLocalstringfacultatifFormat : YYYY-MM-DDTHH:mm
durationMinutesintegerfacultatifDe 5 à 1440
timezonestringfacultatifJusqu'à 64 caractères
locationNamestringfacultatifJusqu'à 120 caractères · peut être null
locationAddressstringfacultatifJusqu'à 200 caractères · peut être null
opponentstringfacultatifJusqu'à 80 caractères · peut être null
homeAwaystringfacultatifUn de : home, away · peut être null
notesstringfacultatifJusqu'à 2000 caractères · peut être null
arriveMinutesBeforeintegerfacultatifDe 0 à 240 · peut être null
notifybooleanfacultatifPar défaut : true
livestreamobjectfacultatifLivestream link ("Watch live"); left out on a new home game: the team's default link; null: none
peut être null
livestream.urlstringobligatoireThe livestream page: Hudl, YouTube Live, Twitch, Facebook Live, Veo, LiveBarn or any https page
Jusqu'à 2048 caractères
livestream.replayDaysintegerfacultatifDays the link shows as a replay after the event (0: hide when it ends; null: 7 for services that keep replays)
De 0 à 365 · peut être null
livestream.showPublicbooleanfacultatifShow the link on the team's or club's public site too (off: only people on the team see it)
opponentColorstringfacultatifGames: the other team's color "#rrggbb" (left out: the one remembered for that opponent; null: the default)
Format : ^#?([0-9a-f]{3}|[0-9a-f]{6})$ · peut être null
scopestringfacultatifUn de : one, following, upcoming, series · Par défaut : "one"
canceledbooleanfacultatif
curl -X PATCH https://teamadoo.com/api/v1/events/e5f6a7b8-1c2d-4e3f-9a4b-5c6d7e8f9a0b \
-H "Authorization: Bearer $TEAMADOO_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"startLocal": "2026-11-24T19:00",
"locationName": "Parc Riverside, field 3"
}'Exemple de réponse · 200 · TeamEvent
Champs de la réponse
Erreurs : 400, 401, 403, 404, 429. Voyez les erreurs.
Répondre pour un joueur
PUT/events/{eventId}/rsvps/{playerId}
Les parents répondent pour leurs enfants, les joueurs pour eux-mêmes, les entraîneurs et gérants pour n'importe qui dans l'équipe.
Paramètres
eventIdstring (uuid)chemin · obligatoireThe event
playerIdstring (uuid)chemin · obligatoireThe player
Corps de la requêteRsvpInput
statusstringobligatoireUn de : going, maybe, not_going
reasonstringfacultatifUn de : sick, injured, school, work, family, travel, transport, late, leaving_early, other · peut être null
notestringfacultatifJusqu'à 200 caractères
curl -X PUT https://teamadoo.com/api/v1/events/e5f6a7b8-1c2d-4e3f-9a4b-5c6d7e8f9a0b/rsvps/a1b2c3d4-5e6f-4a7b-8c9d-0e1f2a3b4c5d \
-H "Authorization: Bearer $TEAMADOO_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"status": "going",
"note": "Arriving 10 minutes late"
}'Exemple de réponse · 200 · TeamEventDetail
Champs de la réponse
Erreurs : 400, 401, 403, 404, 429. Voyez les erreurs.
Présences#
Les présences sur une période
GET/teams/{teamId}/attendance
Le personnel et les administrateurs du club voient chaque joueur; un parent ou un joueur voit les siens. Par défaut, les 90 derniers jours.
Paramètres
teamIdstring (uuid)chemin · obligatoireThe team
fromstring (date)requête · facultatifStart, YYYY-MM-DD
tostring (date)requête · facultatifEnd, YYYY-MM-DD
curl "https://teamadoo.com/api/v1/teams/8b1d3c52-4f7e-4a8b-9c21-5d6e7f8a9b10/attendance?from=2026-09-01&to=2026-11-21" \
-H "Authorization: Bearer $TEAMADOO_TOKEN"Exemple de réponse · 200 · AttendanceReport
Champs de la réponse
Erreurs : 400, 401, 403, 404, 429. Voyez les erreurs.
Publications#
Écrire dans la discussion d'une équipe (annonces comprises)
POST/teams/{teamId}/messages
Tout membre de l'équipe peut écrire un message; kind: "announcement" est réservé aux entraîneurs et gérants et avise toujours toute l'équipe.
Paramètres
teamIdstring (uuid)chemin · obligatoireThe team
Corps de la requêteSendMessageInput
bodystringfacultatifJusqu'à 4000 caractères · Par défaut : ""
kindstringfacultatifUn de : chat, announcement · Par défaut : "chat"
imageIdstring (uuid)facultatifvoiceIdstring (uuid)facultatifalsoEmailbooleanfacultatifreplyToIdstring (uuid)facultatifmentionsstring[]facultatifJusqu'à 20 éléments
curl -X POST https://teamadoo.com/api/v1/teams/8b1d3c52-4f7e-4a8b-9c21-5d6e7f8a9b10/messages \
-H "Authorization: Bearer $TEAMADOO_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"body": "Practice moves to field 3 tonight.",
"kind": "announcement"
}'Exemple de réponse · 201 · ChatMessage
Champs de la réponse
Erreurs : 400, 401, 403, 404, 429. Voyez les erreurs.
Les publications d'un club dans un état donné
GET/clubs/{clubId}/posts
Pour les personnes qui ont un rôle dans le club.
Paramètres
clubIdstring (uuid)chemin · obligatoireThe club
statusstringrequête · facultatifpublished (default), draft or scheduled
Un de : published, draft, scheduled
pagedstringrequête · facultatif1 returns { items, nextCursor } pages instead of a plain array (newest 200)
Un de : 1
cursorstringrequête · facultatifThe nextCursor of the page before (implies paged=1)
limitintegerrequête · facultatifRows per page (default 30, at most 100)
De 1 à 100
curl "https://teamadoo.com/api/v1/clubs/c0a8f3e1-2b4d-4c6e-8f10-a2b3c4d5e6f7/posts?status=published&paged=1&cursor=value&limit=10" \
-H "Authorization: Bearer $TEAMADOO_TOKEN"Exemple de réponse · 200
Champs de la réponse
Erreurs : 400, 401, 403, 404, 429. Voyez les erreurs.
Rédiger une publication du club
POST/clubs/{clubId}/posts
Pour les propriétaires, administrateurs et directeurs du club. Une publication publiée est envoyée à son public; une publication planifiée part à publishAt.
Paramètres
clubIdstring (uuid)chemin · obligatoireThe club
Corps de la requêteSavePostInput
titlestringobligatoireJusqu'à 140 caractères
bodystringfacultatifJusqu'à 10000 caractères · Par défaut : ""
imageIdstring (uuid)facultatifpeut être null
linkUrlstringfacultatifJusqu'à 500 caractères · peut être null
linkLabelstringfacultatifJusqu'à 80 caractères · peut être null
wholeClubbooleanfacultatifPar défaut : true
teamIdsstring (uuid)[]facultatifJusqu'à 300 éléments · Par défaut : []
programIdsstring (uuid)[]facultatifJusqu'à 100 éléments · Par défaut : []
audiencestring[]obligatoireUn de : players, parents, staff · Jusqu'à 3 éléments
statusstringobligatoireUn de : draft, scheduled, published
publishAtstring (date-time)facultatifpeut être null
pinnedUntilstring (date-time)facultatifpeut être null
onWebsitebooleanfacultatifPar défaut : false
imageConsentbooleanfacultatif
curl -X POST https://teamadoo.com/api/v1/clubs/c0a8f3e1-2b4d-4c6e-8f10-a2b3c4d5e6f7/posts \
-H "Authorization: Bearer $TEAMADOO_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"title": "Spring registration is open",
"body": "Sign up by March 1 to keep your spot on the team.",
"audience": [
"parents",
"players"
],
"status": "published"
}'Exemple de réponse · 201 · ClubPost
Champs de la réponse
Erreurs : 400, 401, 403, 404, 429. Voyez les erreurs.
Les nouvelles des clubs pour la personne, épinglées d'abord
GET/posts/feed
Paramètres
limitintegerrequête · facultatifHow many (default 10)
De 1 à 50
curl "https://teamadoo.com/api/v1/posts/feed?limit=10" \
-H "Authorization: Bearer $TEAMADOO_TOKEN"Exemple de réponse · 200 · FeedPost[]
Champs de la réponse
Erreurs : 400, 401, 403, 404, 429. Voyez les erreurs.
Une publication du club
GET/posts/{postId}
Pour les personnes qui ont un rôle dans le club de la publication.
Paramètres
postIdstring (uuid)chemin · obligatoireThe post
curl https://teamadoo.com/api/v1/posts/f0e1d2c3-b4a5-4968-8776-655443322110 \
-H "Authorization: Bearer $TEAMADOO_TOKEN"Exemple de réponse · 200 · ClubPost
Champs de la réponse
Erreurs : 400, 401, 403, 404, 429. Voyez les erreurs.