List all the invites
GET {{baseUrl}}/{{version}}/invites?team_id=100
This endpoint allows you to access the list of invites. On the TeamSportz mobile application, the player has the possibility of requesting to join a team. The coach will have access to the list of players requested to join a team.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
team_id | number | nullable |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Authorization | string | A valid JWT token |
RESPONSES
status: OK
{"current_page":1,"data":[],"first_page_url":"http://localhost:8000/v1/invites?page=1","from":null,"last_page":1,"last_page_url":"http://localhost:8000/v1/invites?page=1","links":[{"url":null,"label":"pagination.previous","active":false},{"url":"http://localhost:8000/v1/invites?page=1","label":"1","active":true},{"url":null,"label":"pagination.next","active":false}],"next_page_url":null,"path":"http://localhost:8000/v1/invites","per_page":15,"prev_page_url":null,"to":null,"total":0}