Idempotent

Create team

Create a team in the company workspace

Headers
  • x-corma-idempotency-key
    Type: string
    min length:  
    1

    Optional client-generated key. Reusing the same key with an identical request replays the original response instead of enqueueing a duplicate task.

Body·
required
application/json
  • displayName
    Type: string
    min length:  
    1
    required
  • key
    Type: string
    min length:  
    1
    required
Responses
  • 201
    Type: object ·

    OK

    • createdAt
      Type: string Format: date-time
      required

      The timestamp of when this resource was created. ISO 8601 format.

    • displayName
      Type: string
      required
    • key
      Type: string
      required
    • sources
      Type: array object[] ·
      required
    • updatedAt
      Type: string Format: date-time
      required

      The timestamp of the last update to this resource. ISO 8601 format.

    application/json
post/teams
{
  "key": "string",
  "displayName": "string",
  "sources": [
    {
      "sourceKind": "integration",
      "integrationKind": "google",
      "mergeKind": "string",
      "createdAt": "2026-07-23T16:23:32.872Z",
      "lastUpdatedAt": "2026-07-23T16:23:32.872Z"
    }
  ],
  "createdAt": "2026-07-23T16:23:32.872Z",
  "updatedAt": "2026-07-23T16:23:32.872Z"
}