List

Get Team Lists

Method: GET

Endpoint:

https://api.serveravatar.com/teams

Request Example:

curl --request GET \
  --url "https://api.serveravatar.com/teams" \
  --header 'content-type: application/json' \
  --header 'Authorization: <YOUR API TOKEN>'

Response:

Team Lists

  • 200 (Ok)
{
  "teams": [
    {
      "id": 1101,
      "user_id": 1101,
      "name": "Personal",
      "created_at": "2020-02-15 10:42:54",
      "updated_at": "2020-02-15 10:42:54",
      "deleted_at": null,
      "admin": true,
      "members": 1
    },
    {
      "id": 1103,
      "user_id": 1101,
      "name": "Management",
      "created_at": "2020-02-22 11:08:12",
      "updated_at": "2020-02-22 11:08:12",
      "deleted_at": null,
      "admin": true,
      "members": 1
    }
  ]
}

Server Error

  • 500 (Internal Server Error)
{
    "message": "Something went really wrong!"
}