📚
Simple OKR
  • Welcome
  • FAQ
  • Simple OKR Manual
    • Objectives & Key Results
      • Quick Start
      • Terminology
      • Key Result Metric Types
    • Configuration & Settings
      • User Management
      • Team Management
      • Security
        • Single Sign-On
          • G Suite Configuration
          • Custom Identity Provider
        • Domain Restriction
        • Password Sign-In
  • Developer API
    • Authentication
    • Errors
    • API Reference
      • Users
      • Teams
      • Cycles
      • Objectives
      • Key Results
Powered by GitBook
On this page
  • The Team object
  • Create Team
  • List Teams
  • Retrieve Team
  • Update Team
  • Delete Team

Was this helpful?

  1. Developer API
  2. API Reference

Teams

Team objects are used to group users into teams.

The Team object

Attribute

Type

Description

id

string

Unique team identifier

name

string

Team name

created_at

string

Time when the team was created. RFC 3339 format.

Example:

{
  "id": "16682617-f25d-4df2-9f51-3c38298996b8",
  "name": "Product Engineering",
  "created_at": "2018-02-20T12:32:56Z"
}

Create Team

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

Create a new Team object.

Request Body

Name
Type
Description

name

string

Name of the team

{
  "id": "16682617-f25d-4df2-9f51-3c38298996b8",
  "name": "Product Engineering",
  "created_at": "2018-02-20T12:32:56Z"
}

List Teams

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

Returns a list of your teams.

Query Parameters

Name
Type
Description

page_token

string

Page number

{
  "next_page_token": null,
  "teams": [
    {
      "id": "16682617-f25d-4df2-9f51-3c38298996b8",
      "name": "Product Engineering",
      "created_at": "2018-02-20T12:32:56Z"
    },
    {...},
    {...}
  ]
}

Retrieve Team

GET https://api.simpleokr.com/v1/teams/:id

Retrieve details about the existing Team. Supply the unique Team ID from either a team creation response or team list response.

Path Parameters

Name
Type
Description

id

string

Team ID

{
  "id": "16682617-f25d-4df2-9f51-3c38298996b8",
  "name": "Product Engineering",
  "created_at": "2018-02-20T12:32:56Z"
}

Update Team

POST https://api.simpleokr.com/v1/teams/:id

Update details of an existing team

Path Parameters

Name
Type
Description

id

string

Team ID

Request Body

Name
Type
Description

name

string

New team name

{
  "id": "16682617-f25d-4df2-9f51-3c38298996b8",
  "name": "Product Engineering",
  "created_at": "2018-02-20T12:32:56Z"
}

Delete Team

DELETE https://api.simpleokr.com/v1/teams/:id

Delete an existing Team.

PreviousUsersNextCycles

Last updated 5 years ago

Was this helpful?