{
  "openapi" : "3.1.0",
  "components" : {
    "schemas" : {
      "ACTION_TYPE" : {
        "type" : "string",
        "enum" : [ "EMAIL", "SCHEDULE", "CALL", "FOLLOW_UP" ]
      },
      "APIKey" : {
        "type" : "object",
        "required" : [ "apiKey", "key", "creationTimestamp", "lastSavedTimestamp" ],
        "properties" : {
          "apiKey" : {
            "type" : "string",
            "description" : "The API key secret value."
          },
          "key" : {
            "type" : "string",
            "description" : "Key for this API key."
          },
          "creationTimestamp" : {
            "type" : "integer",
            "format" : "int64",
            "examples" : [ 1646870400000 ],
            "description" : "Timestamp when this API key was created, in epoch milliseconds."
          },
          "lastSavedTimestamp" : {
            "type" : "integer",
            "format" : "int64",
            "examples" : [ 1646870400000 ],
            "description" : "Timestamp when the last time this key was modified, in epoch milliseconds."
          }
        }
      },
      "AssigneeInput" : {
        "description" : "Assignee identified by user key or email address. At least one must be provided. If both are specified, userKey takes precedence.",
        "type" : "object",
        "properties" : {
          "userKey" : {
            "type" : [ "string", "null" ],
            "description" : "Key for the assigned user. Takes precedence when both userKey and email are specified."
          },
          "email" : {
            "type" : [ "string", "null" ],
            "description" : "Email address for the assigned user. Required when userKey is omitted."
          }
        }
      },
      "Comment" : {
        "type" : "object",
        "required" : [ "key", "boxKey", "pipelineKey", "creatorKey", "reactionSummary" ],
        "properties" : {
          "key" : {
            "type" : "string",
            "description" : "Key for this comment."
          },
          "boxKey" : {
            "type" : "string",
            "description" : "Key for the box this comment belongs to."
          },
          "pipelineKey" : {
            "type" : "string",
            "description" : "Key for the pipeline this comment belongs to."
          },
          "creatorKey" : {
            "type" : "string",
            "description" : "Key for the user who created this comment."
          },
          "newsfeedEntryKey" : {
            "type" : [ "string", "null" ],
            "description" : "Key for the newsfeed entry created for this comment."
          },
          "timestamp" : {
            "type" : [ "integer", "null" ],
            "format" : "int64",
            "examples" : [ 1646870400000 ],
            "description" : "Timestamp when the comment was created, in epoch milliseconds."
          },
          "message" : {
            "type" : [ "string", "null" ],
            "description" : "Comment text."
          },
          "mentions" : {
            "type" : [ "array", "null" ],
            "items" : {
              "$ref" : "#/components/schemas/CommentMention"
            },
            "description" : "User mentions found in the comment text."
          },
          "parent" : {
            "type" : [ "string", "null" ],
            "description" : "Key for the parent comment, when this comment is a reply."
          },
          "children" : {
            "type" : [ "array", "null" ],
            "items" : {
              "type" : "string"
            },
            "description" : "Keys for this comment's direct replies."
          },
          "reactionSummary" : {
            "type" : "array",
            "items" : {
              "$ref" : "#/components/schemas/CommentReactionSummary"
            },
            "description" : "Emoji reactions grouped by emoji."
          },
          "lastSavedTimestamp" : {
            "type" : [ "integer", "null" ],
            "format" : "int64",
            "examples" : [ 1646870400000 ],
            "description" : "Timestamp when the comment was last persisted, in epoch milliseconds."
          }
        }
      },
      "CommentCreateBody" : {
        "type" : "object",
        "required" : [ "message" ],
        "properties" : {
          "message" : {
            "type" : "string",
            "description" : "Comment text."
          },
          "mentions" : {
            "type" : [ "array", "null" ],
            "items" : {
              "$ref" : "#/components/schemas/CommentMentionBody"
            },
            "description" : "Mention ranges in the comment text."
          },
          "parent" : {
            "type" : [ "string", "null" ],
            "description" : "Parent comment key when creating a reply."
          },
          "searchForAtMentions" : {
            "type" : [ "boolean", "null" ],
            "description" : "Whether to scan the comment text for unstructured @mentions of users display name, first name or email address."
          }
        }
      },
      "CommentMention" : {
        "type" : "object",
        "required" : [ "userKey" ],
        "properties" : {
          "userKey" : {
            "type" : "string",
            "description" : "Key for the mentioned user."
          },
          "offset" : {
            "type" : "integer",
            "format" : "int32",
            "description" : "Zero-based character offset where the mention starts."
          },
          "length" : {
            "type" : "integer",
            "format" : "int32",
            "description" : "Character length of the mention."
          }
        }
      },
      "CommentMentionBody" : {
        "type" : "object",
        "required" : [ "userKey" ],
        "properties" : {
          "userKey" : {
            "type" : "string",
            "description" : "Key for the mentioned user."
          },
          "offset" : {
            "type" : "integer",
            "format" : "int32",
            "description" : "Mention start offset in the comment text."
          },
          "length" : {
            "type" : "integer",
            "format" : "int32",
            "description" : "Mention length in the comment text."
          }
        }
      },
      "CommentReactionBody" : {
        "type" : "object",
        "required" : [ "emoji" ],
        "properties" : {
          "emoji" : {
            "type" : "string",
            "description" : "Emoji to add or remove as a reaction."
          }
        }
      },
      "CommentReactionSummary" : {
        "type" : "object",
        "required" : [ "emoji", "users" ],
        "properties" : {
          "emoji" : {
            "type" : "string",
            "description" : "Emoji used for this reaction group."
          },
          "count" : {
            "type" : "integer",
            "format" : "int32",
            "description" : "Number of users who reacted with this emoji."
          },
          "users" : {
            "type" : "array",
            "items" : {
              "$ref" : "#/components/schemas/UserBrief"
            },
            "description" : "Users who reacted with this emoji, ordered by oldest reaction first."
          }
        }
      },
      "CommentUpdateBody" : {
        "type" : "object",
        "properties" : {
          "message" : {
            "type" : [ "string", "null" ],
            "description" : "New comment text. Omit this field to keep the existing comment text unchanged."
          },
          "mentions" : {
            "type" : [ "array", "null" ],
            "items" : {
              "$ref" : "#/components/schemas/CommentMentionBody"
            },
            "description" : "New mention ranges for the comment text. Omit this field to keep existing mentions unchanged."
          }
        }
      },
      "Contact" : {
        "description" : "Contact objects shared to the team",
        "type" : "object",
        "required" : [ "key", "teamKey", "emailAddresses", "phoneNumbers", "addresses", "domains", "normalizedDomains", "fields" ],
        "properties" : {
          "key" : {
            "type" : "string",
            "description" : "Key for this contact."
          },
          "teamKey" : {
            "type" : "string",
            "description" : "Key for the team this contact belongs to."
          },
          "givenName" : {
            "type" : [ "string", "null" ],
            "description" : "Contact given name."
          },
          "familyName" : {
            "type" : [ "string", "null" ],
            "description" : "Contact family name."
          },
          "displayName" : {
            "type" : [ "string", "null" ],
            "description" : "Contact display name."
          },
          "title" : {
            "type" : [ "string", "null" ],
            "description" : "Contact title."
          },
          "emailAddresses" : {
            "type" : "array",
            "items" : {
              "type" : "string"
            },
            "description" : "Contact email addresses."
          },
          "phoneNumbers" : {
            "type" : "array",
            "items" : {
              "type" : "string"
            },
            "description" : "Contact phone numbers."
          },
          "addresses" : {
            "type" : "array",
            "items" : {
              "type" : "string"
            },
            "description" : "Contact street addresses."
          },
          "domains" : {
            "type" : "array",
            "items" : {
              "type" : "string"
            },
            "description" : "Contact domains."
          },
          "normalizedDomains" : {
            "type" : "array",
            "items" : {
              "type" : "string"
            },
            "description" : "Contact normalized domains."
          },
          "photoUrl" : {
            "type" : [ "string", "null" ],
            "description" : "Contact photo URL."
          },
          "fields" : {
            "type" : "object",
            "additionalProperties" : {
              "type" : "string"
            },
            "description" : "Contact custom fields."
          }
        }
      },
      "ImmutableEntityKeyTeamContact" : {
        "type" : "object",
        "properties" : {
          "entityType" : {
            "type" : "string"
          },
          "consistentId" : {
            "type" : "string"
          }
        }
      },
      "MEETING_TYPE" : {
        "type" : "string",
        "enum" : [ "CALL_LOG", "MEETING_NOTES" ]
      },
      "Meeting" : {
        "type" : "object",
        "required" : [ "key", "boxKey", "pipelineKey", "creatorKey", "taskKeys", "creationDate", "meetingType", "startTimestamp", "notes", "lastSavedTimestamp" ],
        "properties" : {
          "key" : {
            "type" : "string",
            "description" : "Key for this meeting."
          },
          "boxKey" : {
            "type" : "string",
            "description" : "Key for the box this meeting belongs to."
          },
          "pipelineKey" : {
            "type" : "string",
            "description" : "Key for the pipeline this meeting belongs to."
          },
          "creatorKey" : {
            "type" : "string",
            "description" : "Key for the user who created this meeting."
          },
          "isDraft" : {
            "type" : "boolean",
            "description" : "Whether this meeting is a draft."
          },
          "taskKeys" : {
            "type" : "array",
            "items" : {
              "type" : "string"
            },
            "description" : "Task keys associated with this meeting."
          },
          "creationDate" : {
            "type" : "integer",
            "format" : "int64",
            "examples" : [ 1646870400000 ],
            "description" : "Timestamp when this meeting was created, in epoch milliseconds."
          },
          "meetingType" : {
            "description" : "Meeting type.",
            "type" : "string",
            "$ref" : "#/components/schemas/MEETING_TYPE"
          },
          "startTimestamp" : {
            "type" : "integer",
            "format" : "int64",
            "examples" : [ 1646870400000 ],
            "description" : "Meeting start timestamp, in epoch milliseconds."
          },
          "duration" : {
            "type" : "integer",
            "format" : "int64",
            "description" : "Meeting duration in milliseconds."
          },
          "notes" : {
            "type" : "string",
            "description" : "Meeting notes."
          },
          "lastSavedTimestamp" : {
            "type" : "integer",
            "format" : "int64",
            "examples" : [ 1646870400000 ],
            "description" : "Timestamp when this meeting was last persisted, in epoch milliseconds."
          }
        }
      },
      "MeetingCreateBody" : {
        "type" : "object",
        "required" : [ "meetingType", "startTimestamp" ],
        "properties" : {
          "meetingType" : {
            "description" : "Meeting type.",
            "type" : "string",
            "$ref" : "#/components/schemas/MEETING_TYPE"
          },
          "startTimestamp" : {
            "type" : "integer",
            "format" : "int64",
            "examples" : [ 1646870400000 ],
            "description" : "Meeting start timestamp, in epoch milliseconds."
          },
          "duration" : {
            "type" : "integer",
            "format" : "int64",
            "description" : "Meeting duration in milliseconds."
          },
          "notes" : {
            "type" : [ "string", "null" ],
            "description" : "Meeting notes."
          },
          "taskKeys" : {
            "type" : [ "array", "null" ],
            "items" : {
              "type" : "string"
            },
            "description" : "Task keys associated with this meeting."
          },
          "isDraft" : {
            "type" : "boolean",
            "description" : "Whether this meeting is a draft."
          }
        }
      },
      "MeetingUpdateBody" : {
        "type" : "object",
        "properties" : {
          "meetingType" : {
            "description" : "New meeting type. Omit this field to keep the existing meeting type unchanged.",
            "type" : [ "string", "null" ],
            "anyOf" : [ {
              "$ref" : "#/components/schemas/MEETING_TYPE"
            }, {
              "type" : "null"
            } ]
          },
          "startTimestamp" : {
            "type" : [ "integer", "null" ],
            "format" : "int64",
            "examples" : [ 1646870400000 ],
            "description" : "New meeting start timestamp, in epoch milliseconds. Omit this field to keep the existing start time unchanged."
          },
          "duration" : {
            "type" : [ "integer", "null" ],
            "format" : "int64",
            "description" : "New meeting duration in milliseconds. Omit this field to keep the existing duration unchanged."
          },
          "notes" : {
            "type" : [ "string", "null" ],
            "description" : "New meeting notes. Omit this field to keep the existing notes unchanged."
          },
          "isDraft" : {
            "type" : [ "boolean", "null" ],
            "description" : "Whether to publish a draft meeting. Omit this field to keep the existing draft state unchanged."
          },
          "taskKeys" : {
            "type" : [ "array", "null" ],
            "items" : {
              "type" : "string"
            },
            "description" : "Replacement task keys associated with this meeting. Omit this field to keep existing task keys unchanged."
          }
        }
      },
      "OperationResponse" : {
        "type" : "object",
        "properties" : {
          "success" : {
            "type" : "boolean",
            "description" : "Whether the operation completed successfully."
          },
          "message" : {
            "type" : [ "string", "null" ],
            "description" : "A message describing the result of the operation."
          }
        }
      },
      "REMINDER_STATUS" : {
        "type" : "string",
        "enum" : [ "NONE", "SCHEDULED", "REMINDED", "ERROR_ON_REMINDER", "NOT_REMINDED_BECAUSE_TASK_DONE" ]
      },
      "SearchBoxResult" : {
        "description" : "Box result returned by the v1 search endpoint.",
        "type" : "object",
        "required" : [ "boxKey" ],
        "properties" : {
          "boxKey" : {
            "type" : "string",
            "description" : "Key for the matching box."
          },
          "name" : {
            "type" : [ "string", "null" ],
            "description" : "Box name."
          },
          "lastUpdatedTimestamp" : {
            "type" : "integer",
            "format" : "int64",
            "description" : "Timestamp when the box was last updated, in epoch milliseconds."
          },
          "assignedToKeys" : {
            "type" : [ "array", "null" ],
            "items" : {
              "type" : "string"
            },
            "description" : "User keys assigned to the box."
          },
          "stageKey" : {
            "type" : [ "string", "null" ],
            "description" : "Current stage key for the box."
          },
          "pipelineKey" : {
            "type" : [ "string", "null" ],
            "description" : "Pipeline key for the box."
          }
        }
      },
      "SearchContactResult" : {
        "description" : "Contact result returned by the v1 search endpoint.",
        "type" : "object",
        "properties" : {
          "givenName" : {
            "type" : [ "string", "null" ],
            "description" : "Contact given name."
          },
          "familyName" : {
            "type" : [ "string", "null" ],
            "description" : "Contact family name."
          },
          "other" : {
            "type" : [ "string", "null" ],
            "description" : "Contact display name or other indexed text."
          },
          "key" : {
            "type" : [ "string", "null" ],
            "description" : "Key for the matching contact."
          },
          "title" : {
            "type" : [ "string", "null" ],
            "description" : "Contact title."
          },
          "addresses" : {
            "type" : [ "array", "null" ],
            "items" : {
              "type" : "string"
            },
            "description" : "Contact street addresses."
          },
          "emailAddresses" : {
            "type" : [ "array", "null" ],
            "items" : {
              "type" : "string"
            },
            "description" : "Contact email addresses."
          },
          "phoneNumbers" : {
            "type" : [ "array", "null" ],
            "items" : {
              "type" : "string"
            },
            "description" : "Contact phone numbers."
          }
        }
      },
      "SearchOrganizationResult" : {
        "description" : "Organization result returned by the v1 search endpoint.",
        "type" : "object",
        "properties" : {
          "name" : {
            "type" : [ "string", "null" ],
            "description" : "Organization name."
          },
          "other" : {
            "type" : [ "string", "null" ],
            "description" : "Organization display name or other indexed text."
          },
          "key" : {
            "type" : [ "string", "null" ],
            "description" : "Key for the matching organization."
          },
          "industry" : {
            "type" : [ "string", "null" ],
            "description" : "Organization industry."
          },
          "employeeCount" : {
            "type" : [ "string", "null" ],
            "description" : "Organization employee count label."
          },
          "logoURL" : {
            "type" : [ "string", "null" ],
            "description" : "Organization logo URL."
          },
          "normalizedDomains" : {
            "type" : [ "array", "null" ],
            "items" : {
              "type" : "string"
            },
            "description" : "Normalized organization domains."
          },
          "domains" : {
            "type" : [ "array", "null" ],
            "items" : {
              "type" : "string"
            },
            "description" : "Organization domains."
          },
          "addresses" : {
            "type" : [ "array", "null" ],
            "items" : {
              "type" : "string"
            },
            "description" : "Organization street addresses."
          }
        }
      },
      "SearchResponse" : {
        "description" : "Response returned by the legacy v1 search endpoint.",
        "type" : "object",
        "required" : [ "results" ],
        "properties" : {
          "results" : {
            "description" : "Search results grouped by entity type.",
            "type" : "object",
            "$ref" : "#/components/schemas/SearchResults"
          },
          "query" : {
            "type" : [ "string", "null" ],
            "description" : "The query string used for full-text searches. Null when searching by exact box name."
          },
          "page" : {
            "type" : "integer",
            "format" : "int32",
            "description" : "Zero-based page number returned by the search."
          }
        }
      },
      "SearchResults" : {
        "type" : "object",
        "description" : "Search results grouped by legacy result collection name.",
        "required" : [ "boxes", "contacts", "orgs" ],
        "properties" : {
          "boxes" : {
            "type" : "array",
            "items" : {
              "$ref" : "#/components/schemas/SearchBoxResult"
            },
            "description" : "Matching boxes."
          },
          "contacts" : {
            "type" : "array",
            "items" : {
              "$ref" : "#/components/schemas/SearchContactResult"
            },
            "description" : "Matching contacts."
          },
          "orgs" : {
            "type" : "array",
            "items" : {
              "$ref" : "#/components/schemas/SearchOrganizationResult"
            },
            "description" : "Matching organizations."
          }
        }
      },
      "TASK_STATUS" : {
        "type" : "string",
        "enum" : [ "NOT_DONE", "DONE" ]
      },
      "Task" : {
        "description" : "Task attached to a box, including assignment, due date, status, and suggested actions.",
        "type" : "object",
        "required" : [ "key", "boxKey", "pipelineKey", "creatorKey", "creator", "assignedTo", "creationDate", "lastSavedTimestamp", "lastStatusChangeDate", "text", "status", "reminderStatus" ],
        "properties" : {
          "key" : {
            "type" : "string",
            "description" : "Key for this task."
          },
          "boxKey" : {
            "type" : "string",
            "description" : "Key for the box this task belongs to."
          },
          "pipelineKey" : {
            "type" : "string",
            "description" : "Key for the pipeline this task belongs to."
          },
          "creatorKey" : {
            "type" : "string",
            "description" : "Key for the user who created this task."
          },
          "creator" : {
            "description" : "The user who created this task.",
            "type" : "object",
            "$ref" : "#/components/schemas/UserBrief"
          },
          "assignedTo" : {
            "type" : "array",
            "items" : {
              "$ref" : "#/components/schemas/UserBrief"
            },
            "description" : "Users assigned to this task. Tasks created without explicit assignees are assigned to the creator by default."
          },
          "creationDate" : {
            "type" : "integer",
            "format" : "int64",
            "examples" : [ 1646870400000 ],
            "description" : "Timestamp when this task was created, in epoch milliseconds."
          },
          "lastSavedTimestamp" : {
            "type" : "integer",
            "format" : "int64",
            "examples" : [ 1646870400000 ],
            "description" : "Timestamp when this task was last persisted, in epoch milliseconds."
          },
          "lastStatusChangeDate" : {
            "type" : "integer",
            "format" : "int64",
            "examples" : [ 1646870400000 ],
            "description" : "Timestamp when this task status last changed, in epoch milliseconds."
          },
          "dueDate" : {
            "type" : [ "integer", "null" ],
            "format" : "int64",
            "examples" : [ 1646870400000 ],
            "description" : "Task due date, in epoch milliseconds."
          },
          "text" : {
            "type" : "string",
            "description" : "Task text."
          },
          "actions" : {
            "type" : [ "array", "null" ],
            "items" : {
              "$ref" : "#/components/schemas/TaskAction"
            },
            "description" : "Suggested actions inferred from the task text."
          },
          "status" : {
            "description" : "Task completion status.",
            "type" : "string",
            "$ref" : "#/components/schemas/TASK_STATUS"
          },
          "reminderStatus" : {
            "description" : "Task reminder status.",
            "type" : "string",
            "$ref" : "#/components/schemas/REMINDER_STATUS"
          },
          "meetingKey" : {
            "type" : [ "string", "null" ],
            "description" : "Key for the meeting this task belongs to, when any."
          }
        }
      },
      "TaskAction" : {
        "description" : "Suggested action inferred from task text.",
        "type" : "object",
        "required" : [ "type", "value", "contact" ],
        "properties" : {
          "type" : {
            "description" : "Suggested action type.",
            "type" : "string",
            "$ref" : "#/components/schemas/ACTION_TYPE"
          },
          "value" : {
            "type" : "string",
            "description" : "Suggested action value, such as an email address or phone number."
          },
          "contact" : {
            "description" : "Contact this action is associated with.",
            "type" : "object",
            "$ref" : "#/components/schemas/Contact"
          }
        }
      },
      "TaskCreateBody" : {
        "description" : "Fields used to create a task on a box.",
        "type" : "object",
        "required" : [ "text" ],
        "properties" : {
          "text" : {
            "type" : "string",
            "description" : "Task text."
          },
          "dueDate" : {
            "type" : [ "integer", "null" ],
            "format" : "int64",
            "examples" : [ 1646870400000 ],
            "description" : "Task due date, in epoch milliseconds. Use -1 to create a task with no due date."
          },
          "assignedTo" : {
            "type" : [ "array", "null" ],
            "items" : {
              "$ref" : "#/components/schemas/AssigneeInput"
            },
            "description" : "Users to assign to this task. Omit to assign the task to the creator."
          },
          "meetingKey" : {
            "type" : [ "string", "null" ],
            "description" : "Key for the meeting this task belongs to, when any."
          },
          "isDraft" : {
            "type" : [ "boolean", "null" ],
            "description" : "Whether to create this task as a draft. Draft tasks do not send notifications or webhooks."
          },
          "teamContactKey" : {
            "description" : "Key for the contact used to infer suggested task actions.",
            "type" : [ "string", "null" ],
            "anyOf" : [ {
              "$ref" : "#/components/schemas/ImmutableEntityKeyTeamContact"
            }, {
              "type" : "null"
            } ]
          },
          "draft" : {
            "type" : "boolean"
          }
        }
      },
      "TaskUpdateBody" : {
        "description" : "Fields used to update an existing task. Omitted fields are left unchanged.",
        "type" : "object",
        "properties" : {
          "text" : {
            "type" : [ "string", "null" ],
            "description" : "New task text. Omit this field to keep existing text unchanged."
          },
          "dueDate" : {
            "type" : [ "integer", "null" ],
            "format" : "int64",
            "examples" : [ 1646870400000 ],
            "description" : "New task due date, in epoch milliseconds. Use -1 to clear the due date."
          },
          "status" : {
            "description" : "New task completion status. Omit this field to keep existing status unchanged.",
            "type" : [ "string", "null" ],
            "anyOf" : [ {
              "$ref" : "#/components/schemas/TASK_STATUS"
            }, {
              "type" : "null"
            } ]
          },
          "assignedTo" : {
            "type" : [ "array", "null" ],
            "items" : {
              "$ref" : "#/components/schemas/AssigneeInput"
            },
            "description" : "Replacement users assigned to this task. Omit this field to keep existing assignees unchanged."
          },
          "meetingKey" : {
            "type" : [ "string", "null" ],
            "description" : "Key for the meeting this task belongs to. Omit this field to keep existing meeting unchanged."
          },
          "isDraft" : {
            "type" : [ "boolean", "null" ],
            "description" : "Whether to publish a draft task. Omit this field to keep existing draft state unchanged."
          },
          "draft" : {
            "type" : "boolean"
          }
        }
      },
      "USER_TYPE" : {
        "type" : "string",
        "enum" : [ "HUMAN", "AGENT" ]
      },
      "User" : {
        "type" : "object",
        "required" : [ "email", "creationTimestamp", "lastUpdatedTimestamp", "lastSavedTimestamp", "userType", "displayName", "key" ],
        "properties" : {
          "email" : {
            "type" : "string",
            "description" : "The user's normalized email address."
          },
          "creationTimestamp" : {
            "type" : "integer",
            "format" : "int64",
            "examples" : [ 1646870400000 ],
            "description" : "Timestamp when the user account was created, in epoch milliseconds."
          },
          "lastUpdatedTimestamp" : {
            "type" : "integer",
            "format" : "int64",
            "examples" : [ 1646870400000 ],
            "description" : "Timestamp when the user entity was last updated, in epoch milliseconds."
          },
          "lastSavedTimestamp" : {
            "type" : "integer",
            "format" : "int64",
            "examples" : [ 1646870400000 ],
            "description" : "Timestamp when the user entity was last persisted, in epoch milliseconds."
          },
          "lastSeenTimestamp" : {
            "type" : [ "integer", "null" ],
            "format" : "int64",
            "examples" : [ 1646870400000 ],
            "description" : "Timestamp when Streak last saw activity for the user, in epoch milliseconds."
          },
          "googleProfileId" : {
            "type" : [ "string", "null" ],
            "description" : "Stable Google profile identifier associated with the user's OAuth account."
          },
          "googleProfilePhotoUrl" : {
            "type" : [ "string", "null" ],
            "description" : "URL of the user's Google profile photo, when available."
          },
          "googleProfileLink" : {
            "type" : [ "string", "null" ],
            "description" : "URL of the user's Google profile, when available."
          },
          "googleProfileFullName" : {
            "type" : [ "string", "null" ],
            "description" : "Full display name from the user's Google profile."
          },
          "googleProfileFirstName" : {
            "type" : [ "string", "null" ],
            "description" : "Given name from the user's Google profile, when available."
          },
          "googleProfileLastName" : {
            "type" : [ "string", "null" ],
            "description" : "Family name from the user's Google profile, when available."
          },
          "timezoneId" : {
            "type" : [ "string", "null" ],
            "description" : "IANA timezone identifier for the user, such as America/Los_Angeles."
          },
          "userType" : {
            "description" : "Type of Streak user account, such as a human user or an agent user.",
            "type" : "string",
            "$ref" : "#/components/schemas/USER_TYPE"
          },
          "securityReportOnTeamsPipelines" : {
            "type" : "boolean",
            "description" : "Whether security report emails are enabled for the user's team pipelines."
          },
          "externalSharingRestrictionOnTeamsPipelines" : {
            "type" : "boolean",
            "description" : "Whether external sharing is restricted on the user's team pipelines."
          },
          "automaticallySendInvoiceEmails" : {
            "type" : "boolean",
            "description" : "Whether invoice emails should be sent automatically for the user's billing context."
          },
          "emailsToSendInvoiceTo" : {
            "type" : [ "array", "null" ],
            "uniqueItems" : true,
            "items" : {
              "type" : "string"
            },
            "description" : "Additional email addresses that should receive invoice emails."
          },
          "customerSpecifiedInvoiceData" : {
            "type" : [ "string", "null" ],
            "description" : "Customer-provided invoice data to include with billing records."
          },
          "firstOauthTimestamp" : {
            "type" : [ "integer", "null" ],
            "format" : "int64",
            "examples" : [ 1646870400000 ],
            "description" : "Timestamp when the user first completed OAuth, in epoch milliseconds."
          },
          "wantsTaskDigestEmail" : {
            "type" : "boolean",
            "description" : "Whether the user wants to receive task digest emails."
          },
          "displayName" : {
            "type" : "string",
            "description" : "Display name Streak uses for the user in UI surfaces."
          },
          "key" : {
            "type" : "string",
            "description" : "Key for this user."
          }
        }
      },
      "UserBrief" : {
        "type" : "object",
        "required" : [ "userKey" ],
        "properties" : {
          "userKey" : {
            "type" : "string",
            "description" : "Key for this user."
          },
          "email" : {
            "type" : [ "string", "null" ],
            "description" : "User email address, when available."
          },
          "displayName" : {
            "type" : [ "string", "null" ],
            "description" : "Short display name for this user, when available."
          },
          "fullName" : {
            "type" : [ "string", "null" ],
            "description" : "Full display name for this user, when available."
          },
          "givenName" : {
            "type" : [ "string", "null" ],
            "description" : "Given name for this user, when available."
          },
          "avatarUrl" : {
            "type" : [ "string", "null" ],
            "description" : "Avatar image URL for this user, when available."
          }
        }
      },
      "UserUpdateBody" : {
        "type" : "object",
        "properties" : {
          "automaticallySendInvoiceEmails" : {
            "type" : [ "boolean", "null" ],
            "description" : "Whether invoice emails should be sent automatically."
          },
          "emailsToSendInvoiceTo" : {
            "type" : [ "array", "null" ],
            "uniqueItems" : true,
            "items" : {
              "type" : "string"
            },
            "description" : "Who should receive invoices"
          },
          "customerSpecifiedInvoiceData" : {
            "type" : [ "string", "null" ],
            "description" : "Custom data that should be shown on the invoice"
          }
        }
      },
      "CommentListResponse" : {
        "description" : "A wrapper for a list of Comment(s) that supports paging when available.",
        "type" : "object",
        "properties" : {
          "hasNextPage" : {
            "type" : "boolean",
            "description" : "Whether there are more Comment(s) available after this response."
          },
          "results" : {
            "type" : "array",
            "items" : {
              "$ref" : "#/components/schemas/Comment"
            },
            "description" : "The Comment(s) returned by this response."
          }
        },
        "required" : [ "results" ]
      },
      "MeetingListResponse" : {
        "description" : "A wrapper for a list of Meeting(s) that supports paging when available.",
        "type" : "object",
        "properties" : {
          "hasNextPage" : {
            "type" : "boolean",
            "description" : "Whether there are more Meeting(s) available after this response."
          },
          "results" : {
            "type" : "array",
            "items" : {
              "$ref" : "#/components/schemas/Meeting"
            },
            "description" : "The Meeting(s) returned by this response."
          }
        },
        "required" : [ "results" ]
      },
      "TaskListResponse" : {
        "description" : "A wrapper for a list of Task(s) that supports paging when available.",
        "type" : "object",
        "properties" : {
          "hasNextPage" : {
            "type" : "boolean",
            "description" : "Whether there are more Task(s) available after this response."
          },
          "results" : {
            "type" : "array",
            "items" : {
              "$ref" : "#/components/schemas/Task"
            },
            "description" : "The Task(s) returned by this response."
          }
        },
        "required" : [ "results" ]
      },
      "UserListResponse" : {
        "description" : "A wrapper for a list of User(s) that supports paging when available.",
        "type" : "object",
        "properties" : {
          "hasNextPage" : {
            "type" : "boolean",
            "description" : "Whether there are more User(s) available after this response."
          },
          "results" : {
            "type" : "array",
            "items" : {
              "$ref" : "#/components/schemas/User"
            },
            "description" : "The User(s) returned by this response."
          }
        },
        "required" : [ "results" ]
      }
    }
  },
  "tags" : [ {
    "name" : "API Key",
    "description" : "API key operations"
  }, {
    "name" : "Comment",
    "description" : "Comment operations"
  }, {
    "name" : "Meeting",
    "description" : "Meeting and call log operations"
  }, {
    "name" : "Search",
    "description" : "Search operations"
  }, {
    "name" : "Task",
    "description" : "Task operations"
  }, {
    "name" : "User",
    "description" : "User management operations"
  } ],
  "paths" : {
    "/v1/apikeys" : {
      "get" : {
        "summary" : "List API keys",
        "description" : "Lists API keys owned by the current user",
        "tags" : [ "API Key" ],
        "parameters" : [ {
          "name" : "limit",
          "in" : "query",
          "schema" : {
            "type" : [ "integer", "null" ],
            "format" : "int32"
          }
        }, {
          "name" : "page",
          "in" : "query",
          "schema" : {
            "type" : [ "integer", "null" ],
            "format" : "int32"
          }
        } ],
        "responses" : {
          "200" : {
            "description" : "OK",
            "content" : {
              "application/json" : {
                "schema" : {
                  "type" : "array",
                  "items" : {
                    "$ref" : "#/components/schemas/APIKey"
                  }
                }
              }
            }
          }
        }
      },
      "put" : {
        "summary" : "Create API key",
        "description" : "Creates an API key for the current user",
        "tags" : [ "API Key" ],
        "responses" : {
          "200" : {
            "description" : "OK",
            "content" : {
              "application/json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/APIKey"
                }
              }
            }
          }
        }
      }
    },
    "/v1/apikeys/{apiKeyKey}" : {
      "delete" : {
        "summary" : "Delete API key",
        "description" : "Deletes an API key by key",
        "tags" : [ "API Key" ],
        "parameters" : [ {
          "name" : "apiKeyKey",
          "in" : "path",
          "required" : true,
          "schema" : {
            "type" : "string"
          }
        } ],
        "responses" : {
          "200" : {
            "description" : "OK",
            "content" : {
              "application/json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/OperationResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/search" : {
      "get" : {
        "summary" : "Search boxes, contacts, and organizations",
        "description" : "Searches visible boxes, contacts, and organizations by query, or visible boxes by exact name. Exactly one of query or name must be provided.",
        "tags" : [ "Search" ],
        "parameters" : [ {
          "description" : "Exact box name to search for.",
          "name" : "name",
          "in" : "query",
          "schema" : {
            "type" : [ "string", "null" ]
          }
        }, {
          "description" : "Zero-based page number.",
          "name" : "page",
          "in" : "query",
          "schema" : {
            "type" : "integer",
            "format" : "int32",
            "default" : 0
          }
        }, {
          "description" : "Pipeline keys to constrain the search to.",
          "name" : "pipelineKey",
          "in" : "query",
          "schema" : {
            "type" : [ "array", "null" ],
            "items" : {
              "type" : "string"
            }
          }
        }, {
          "description" : "Full-text query to search across boxes, contacts, and organizations.",
          "name" : "query",
          "in" : "query",
          "schema" : {
            "type" : [ "string", "null" ]
          }
        }, {
          "description" : "Stage keys to constrain the search to.",
          "name" : "stageKey",
          "in" : "query",
          "schema" : {
            "type" : [ "array", "null" ],
            "items" : {
              "type" : "string"
            }
          }
        }, {
          "description" : "Team keys to constrain the search to.",
          "name" : "teamKey",
          "in" : "query",
          "schema" : {
            "type" : [ "array", "null" ],
            "items" : {
              "type" : "string"
            }
          }
        } ],
        "responses" : {
          "200" : {
            "description" : "OK",
            "content" : {
              "application/json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/SearchResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/users/me" : {
      "get" : {
        "summary" : "Get current user",
        "description" : "Returns information about the currently authenticated user",
        "tags" : [ "User" ],
        "responses" : {
          "200" : {
            "description" : "OK",
            "content" : {
              "application/json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/User"
                }
              }
            }
          }
        }
      }
    },
    "/v1/users/{userKey}" : {
      "post" : {
        "summary" : "Update user by key",
        "description" : "Updates a specific user by their key",
        "tags" : [ "User" ],
        "parameters" : [ {
          "name" : "userKey",
          "in" : "path",
          "required" : true,
          "schema" : {
            "type" : "string"
          }
        } ],
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/UserUpdateBody"
              }
            }
          },
          "required" : true
        },
        "responses" : {
          "200" : {
            "description" : "OK",
            "content" : {
              "application/json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/User"
                }
              }
            }
          }
        }
      },
      "get" : {
        "summary" : "Get user by key",
        "description" : "Returns information about a specific user by their key",
        "tags" : [ "User" ],
        "parameters" : [ {
          "name" : "userKey",
          "in" : "path",
          "required" : true,
          "schema" : {
            "type" : "string"
          }
        } ],
        "responses" : {
          "200" : {
            "description" : "OK",
            "content" : {
              "application/json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/User"
                }
              }
            }
          }
        }
      }
    },
    "/v2/boxes/{boxKey}/comments" : {
      "get" : {
        "summary" : "List comments",
        "description" : "Lists comments on a box",
        "tags" : [ "Comment" ],
        "parameters" : [ {
          "name" : "boxKey",
          "in" : "path",
          "required" : true,
          "schema" : {
            "type" : "string"
          }
        } ],
        "responses" : {
          "200" : {
            "description" : "OK",
            "content" : {
              "application/json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/CommentListResponse"
                }
              }
            }
          }
        }
      },
      "post" : {
        "summary" : "Create comment",
        "description" : "Creates a comment on a box",
        "tags" : [ "Comment" ],
        "parameters" : [ {
          "name" : "boxKey",
          "in" : "path",
          "required" : true,
          "schema" : {
            "type" : "string"
          }
        } ],
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/CommentCreateBody"
              }
            }
          },
          "required" : true
        },
        "responses" : {
          "200" : {
            "description" : "OK",
            "content" : {
              "application/json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/Comment"
                }
              }
            }
          }
        }
      }
    },
    "/v2/boxes/{boxKey}/meetings" : {
      "get" : {
        "summary" : "List meetings",
        "description" : "Lists meetings and call logs on a box",
        "tags" : [ "Meeting" ],
        "parameters" : [ {
          "name" : "boxKey",
          "in" : "path",
          "required" : true,
          "schema" : {
            "type" : "string"
          }
        }, {
          "name" : "limit",
          "in" : "query",
          "schema" : {
            "type" : [ "integer", "null" ],
            "format" : "int32"
          }
        }, {
          "name" : "page",
          "in" : "query",
          "schema" : {
            "type" : [ "integer", "null" ],
            "format" : "int32"
          }
        } ],
        "responses" : {
          "200" : {
            "description" : "OK",
            "content" : {
              "application/json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/MeetingListResponse"
                }
              }
            }
          }
        }
      },
      "post" : {
        "summary" : "Create meeting",
        "description" : "Creates a meeting or call log on a box",
        "tags" : [ "Meeting" ],
        "parameters" : [ {
          "name" : "boxKey",
          "in" : "path",
          "required" : true,
          "schema" : {
            "type" : "string"
          }
        } ],
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/MeetingCreateBody"
              }
            }
          },
          "required" : true
        },
        "responses" : {
          "200" : {
            "description" : "OK",
            "content" : {
              "application/json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/Meeting"
                }
              }
            }
          }
        }
      }
    },
    "/v2/boxes/{boxKey}/tasks" : {
      "get" : {
        "summary" : "List box tasks",
        "description" : "Lists tasks on a box, ordered by creation date.",
        "tags" : [ "Task" ],
        "parameters" : [ {
          "description" : "Key for the box whose tasks should be listed.",
          "name" : "boxKey",
          "in" : "path",
          "required" : true,
          "schema" : {
            "type" : "string"
          }
        }, {
          "description" : "Maximum number of tasks to return.",
          "name" : "limit",
          "in" : "query",
          "schema" : {
            "type" : [ "integer", "null" ],
            "format" : "int32"
          }
        }, {
          "description" : "Zero-based page number to return.",
          "name" : "page",
          "in" : "query",
          "schema" : {
            "type" : [ "integer", "null" ],
            "format" : "int32"
          }
        } ],
        "responses" : {
          "200" : {
            "description" : "OK",
            "content" : {
              "application/json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/TaskListResponse"
                }
              }
            }
          }
        }
      },
      "post" : {
        "summary" : "Create task",
        "description" : "Creates a task on a box.",
        "tags" : [ "Task" ],
        "parameters" : [ {
          "description" : "Key for the box to create the task on.",
          "name" : "boxKey",
          "in" : "path",
          "required" : true,
          "schema" : {
            "type" : "string"
          }
        } ],
        "requestBody" : {
          "description" : "Task fields to create.",
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/TaskCreateBody"
              }
            }
          },
          "required" : true
        },
        "responses" : {
          "200" : {
            "description" : "OK",
            "content" : {
              "application/json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/Task"
                }
              }
            }
          }
        }
      }
    },
    "/v2/comments/{commentKey}" : {
      "post" : {
        "summary" : "Update comment",
        "description" : "Updates a comment by key",
        "tags" : [ "Comment" ],
        "parameters" : [ {
          "name" : "commentKey",
          "in" : "path",
          "required" : true,
          "schema" : {
            "type" : "string"
          }
        } ],
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/CommentUpdateBody"
              }
            }
          },
          "required" : true
        },
        "responses" : {
          "200" : {
            "description" : "OK",
            "content" : {
              "application/json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/Comment"
                }
              }
            }
          }
        }
      },
      "get" : {
        "summary" : "Get comment",
        "description" : "Returns a comment by key",
        "tags" : [ "Comment" ],
        "parameters" : [ {
          "name" : "commentKey",
          "in" : "path",
          "required" : true,
          "schema" : {
            "type" : "string"
          }
        } ],
        "responses" : {
          "200" : {
            "description" : "OK",
            "content" : {
              "application/json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/Comment"
                }
              }
            }
          }
        }
      },
      "delete" : {
        "summary" : "Delete comment",
        "description" : "Deletes a comment by key",
        "tags" : [ "Comment" ],
        "parameters" : [ {
          "name" : "commentKey",
          "in" : "path",
          "required" : true,
          "schema" : {
            "type" : "string"
          }
        } ],
        "responses" : {
          "200" : {
            "description" : "OK",
            "content" : {
              "application/json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/OperationResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v2/comments/{commentKey}/react" : {
      "post" : {
        "summary" : "React to comment",
        "description" : "Adds an emoji reaction to a comment",
        "tags" : [ "Comment" ],
        "parameters" : [ {
          "name" : "commentKey",
          "in" : "path",
          "required" : true,
          "schema" : {
            "type" : "string"
          }
        } ],
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/CommentReactionBody"
              }
            }
          },
          "required" : true
        },
        "responses" : {
          "200" : {
            "description" : "OK",
            "content" : {
              "application/json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/Comment"
                }
              }
            }
          }
        }
      }
    },
    "/v2/comments/{commentKey}/unreact" : {
      "post" : {
        "summary" : "Remove comment reaction",
        "description" : "Removes an emoji reaction from a comment",
        "tags" : [ "Comment" ],
        "parameters" : [ {
          "name" : "commentKey",
          "in" : "path",
          "required" : true,
          "schema" : {
            "type" : "string"
          }
        } ],
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/CommentReactionBody"
              }
            }
          },
          "required" : true
        },
        "responses" : {
          "200" : {
            "description" : "OK",
            "content" : {
              "application/json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/Comment"
                }
              }
            }
          }
        }
      }
    },
    "/v2/meetings/{meetingKey}" : {
      "post" : {
        "summary" : "Update meeting",
        "description" : "Updates a meeting or call log by key",
        "tags" : [ "Meeting" ],
        "parameters" : [ {
          "name" : "meetingKey",
          "in" : "path",
          "required" : true,
          "schema" : {
            "type" : "string"
          }
        } ],
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/MeetingUpdateBody"
              }
            }
          },
          "required" : true
        },
        "responses" : {
          "200" : {
            "description" : "OK",
            "content" : {
              "application/json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/Meeting"
                }
              }
            }
          }
        }
      },
      "get" : {
        "summary" : "Get meeting",
        "description" : "Returns a meeting or call log by key",
        "tags" : [ "Meeting" ],
        "parameters" : [ {
          "name" : "meetingKey",
          "in" : "path",
          "required" : true,
          "schema" : {
            "type" : "string"
          }
        } ],
        "responses" : {
          "200" : {
            "description" : "OK",
            "content" : {
              "application/json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/Meeting"
                }
              }
            }
          }
        }
      },
      "delete" : {
        "summary" : "Delete meeting",
        "description" : "Deletes a meeting or call log by key",
        "tags" : [ "Meeting" ],
        "parameters" : [ {
          "name" : "meetingKey",
          "in" : "path",
          "required" : true,
          "schema" : {
            "type" : "string"
          }
        } ],
        "responses" : {
          "200" : {
            "description" : "OK",
            "content" : {
              "application/json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/OperationResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v2/tasks" : {
      "get" : {
        "summary" : "List upcoming tasks",
        "description" : "Lists tasks across all pipelines and boxes. By default, returns incomplete tasks assigned to the current user before tomorrow in the user's timezone, which includes today's and overdue tasks. Use userKeys, pipelineKey, includeCompleted, direction, limit, and sortOrder to page through other agenda slices.",
        "tags" : [ "Task" ],
        "parameters" : [ {
          "description" : "Agenda direction. Accepted values are desc, past, asc, and future. Defaults to desc.",
          "name" : "direction",
          "in" : "query",
          "schema" : {
            "type" : [ "string", "null" ]
          }
        }, {
          "description" : "Whether completed tasks should be included in the returned agenda.",
          "name" : "includeCompleted",
          "in" : "query",
          "schema" : {
            "type" : "boolean",
            "default" : false
          }
        }, {
          "description" : "Maximum number of tasks to return per assigned user.",
          "name" : "limit",
          "in" : "query",
          "schema" : {
            "type" : "integer",
            "format" : "int32",
            "default" : 50
          }
        }, {
          "description" : "Key for the pipeline to filter tasks to. Omit to search across all visible pipelines.",
          "name" : "pipelineKey",
          "in" : "query",
          "schema" : {
            "type" : [ "string", "null" ]
          }
        }, {
          "description" : "Opaque 30-digit sort cursor returned as task.sortOrder. Omit to use tomorrow at local midnight as the cursor boundary.",
          "name" : "sortOrder",
          "in" : "query",
          "schema" : {
            "type" : [ "string", "null" ]
          }
        }, {
          "description" : "User keys whose assigned tasks should be returned. Omit to return tasks assigned to the current user.",
          "name" : "userKeys",
          "in" : "query",
          "schema" : {
            "type" : [ "array", "null" ],
            "items" : { }
          }
        } ],
        "responses" : {
          "200" : {
            "description" : "OK",
            "content" : {
              "application/json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/TaskListResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v2/tasks/{taskKey}" : {
      "post" : {
        "summary" : "Update task",
        "description" : "Updates a task by key. Omitted body fields are left unchanged.",
        "tags" : [ "Task" ],
        "parameters" : [ {
          "description" : "Key for the task to update.",
          "name" : "taskKey",
          "in" : "path",
          "required" : true,
          "schema" : {
            "type" : "string"
          }
        } ],
        "requestBody" : {
          "description" : "Task fields to update.",
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/TaskUpdateBody"
              }
            }
          },
          "required" : true
        },
        "responses" : {
          "200" : {
            "description" : "OK",
            "content" : {
              "application/json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/Task"
                }
              }
            }
          }
        }
      },
      "get" : {
        "summary" : "Get task",
        "description" : "Returns a single task by key.",
        "tags" : [ "Task" ],
        "parameters" : [ {
          "description" : "Key for the task to return.",
          "name" : "taskKey",
          "in" : "path",
          "required" : true,
          "schema" : {
            "type" : "string"
          }
        } ],
        "responses" : {
          "200" : {
            "description" : "OK",
            "content" : {
              "application/json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/Task"
                }
              }
            }
          }
        }
      },
      "delete" : {
        "summary" : "Delete task",
        "description" : "Deletes a task by key.",
        "tags" : [ "Task" ],
        "parameters" : [ {
          "description" : "Key for the task to delete.",
          "name" : "taskKey",
          "in" : "path",
          "required" : true,
          "schema" : {
            "type" : "string"
          }
        } ],
        "responses" : {
          "200" : {
            "description" : "OK",
            "content" : {
              "application/json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/OperationResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v2/teams/{teamKey}/users" : {
      "get" : {
        "summary" : "Get all users on team",
        "description" : "Returns all the users on a single team including archived users, payer only users, agents, owners and regular members.",
        "tags" : [ "User" ],
        "parameters" : [ {
          "name" : "teamKey",
          "in" : "path",
          "required" : true,
          "schema" : {
            "type" : "string"
          }
        } ],
        "responses" : {
          "200" : {
            "description" : "OK",
            "content" : {
              "application/json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/UserListResponse"
                }
              }
            }
          }
        }
      }
    }
  },
  "info" : {
    "title" : "Generated API",
    "version" : "1.0"
  }
}