openapi: 3.2.0 info: title: Karbonhq Notes API version: v3 contact: name: API Support url: https://developers.karbonhq.com/issues/ license: name: Apache 2.0 url: http://www.apache.org/licenses/LICENSE-2.0.html termsOfService: https://karbonhq.com/terms-of-use/ description: 'Operations tagged Notes across 2 of this provider''s published API definitions: KarbonAPI.json, karbonhq-openapi.yml. Each path carries the servers of the definition it was published in.' servers: - url: https://api.karbonhq.com description: The production API server security: - ApiKeyAuth: [] BearerAuth: [] tags: - name: Notes description: Hold a conversation internally within your company. Unlike an email, Notes are viewed only by members of your team. Read more paths: /v3/Notes/{NoteID}: get: tags: - Notes summary: Gets a Note using NoteID parameters: - required: true in: path name: NoteID schema: type: string example: Tz3lJgXMPdy description: The Karbon-generated Note key description: Use the `GET` method on this endpoint to receive the Note specified using the `NoteID`. operationId: getNoteByNoteKey responses: '200': description: Successful operation content: application/json: schema: $ref: '#/components/schemas/NoteResponse' example: '@odata.context': https://api.karbonhq.com/v3/$metadata#Notes/$entity Id: Tz3lJgXMPdy Subject: Regarding New Proposal Body: Amy, could you please submit the new Proposal for Acme Corp by this weekend? CreatedDate: '2022-07-11T02:16:06Z' AuthorEmailAddress: jessica@samplecompany.com AssigneeEmailAddress: amy@samplecompany.com DueDate: '2022-07-16T02:16:06Z' TodoDate: '2022-07-16T02:16:06Z' Timelines: - EntityType: WorkItem EntityKey: 2m6pSFxRzcF2 Comments: - CommentKey: 22145nBb4tLP CommentBody: Hi Jess, Could you please share the template to the last proposal you created? CreatedDate: '2022-07-11T07:16:32Z' AuthorEmailAddress: jessica@samplecompany.com '400': description: Bad Request content: application/json: schema: $ref: '#/components/schemas/ErrorMessages' examples: Unsupported Option: $ref: '#/components/examples/Unsupported_option' '401': description: Unauthorized content: application/json: schema: $ref: '#/components/schemas/ResourceNotFound' examples: Unauthorized Access: $ref: '#/components/examples/UnauthorizedAccess' '404': description: Not Found content: application/json: schema: $ref: '#/components/schemas/ErrorMessages' examples: Resource Not Found: $ref: '#/components/examples/HTTP_Resource_Not_Found' Key Not Found: $ref: '#/components/examples/Generic_Key_Not_Found' '429': description: Rate Limit Exceeded content: application/json: schema: $ref: '#/components/schemas/RateLimitErrorMessage' '500': description: Internal Server Error content: application/json: schema: $ref: '#/components/schemas/ErrorMessages' examples: Undefined Error: $ref: '#/components/examples/elongated_5001' servers: - url: https://api.karbonhq.com description: The production API server /v3/Notes: post: tags: - Notes summary: Creates a new Note description: Use the `POST` method on this endpoint to create a new Note and associate it with a Karbon entity (e.g., WorkItem, Contact, Organization, or ClientGroup) in your tenant. operationId: createNote responses: '201': description: Created content: application/json: schema: $ref: '#/components/schemas/NoteResponse' example: '@odata.context': https://api.karbonhq.com/v3/$metadata#Notes/$entity Id: Tz3lJgXMPdy Subject: Regarding New Proposal Body: Amy, could you please submit the new Proposal for Acme Corp by this weekend? CreatedDate: '2022-07-11T02:16:06Z' AuthorEmailAddress: jessica@samplecompany.com AssigneeEmailAddress: amy@samplecompany.com DueDate: '2022-07-16T02:16:06Z' TodoDate: '2022-07-16T02:16:06Z' Timelines: - EntityType: WorkItem EntityKey: 2m6pSFxRzcF2 Comments: [] headers: Location: description: The endpoint URL to the newly created Note. schema: type: string example: https://api.karbonhq.com/v3/Notes('Tz3lJgXMPdy') '400': description: Bad Request content: application/json: schema: $ref: '#/components/schemas/ErrorMessages' examples: Unsupported Option: $ref: '#/components/examples/Unsupported_option' '401': description: Unauthorized content: application/json: schema: $ref: '#/components/schemas/ResourceNotFound' examples: Unauthorized Access: $ref: '#/components/examples/UnauthorizedAccess' '404': description: Bad Request content: application/json: schema: $ref: '#/components/schemas/ErrorMessages' examples: Resource Not Found: $ref: '#/components/examples/HTTP_Resource_Not_Found' Payload Mising: $ref: '#/components/examples/Note_Payload_Missing' '429': description: Rate Limit Exceeded content: application/json: schema: $ref: '#/components/schemas/RateLimitErrorMessage' '500': description: Internal Server Error content: application/json: schema: $ref: '#/components/schemas/ErrorMessages' examples: Invalid Assignee Email Address: $ref: '#/components/examples/Missing_Assignee_Email_Address' Invalid Author Email Address: $ref: '#/components/examples/Invalid_Author_Email_Address' Missing Author Email Address: $ref: '#/components/examples/Missing_Author_Email_Address' Undefined Error: $ref: '#/components/examples/elongated_5001' requestBody: description: Refer to the table below for more information on each field in the request body. required: true content: application/json: schema: $ref: '#/components/schemas/NoteRequest' example: Subject: Regarding New Proposal Body: Amy, could you please submit the new Proposal for Acme Corp by this weekend? AuthorEmailAddress: jessica@samplecompany.com AssigneeEmailAddress: amy@samplecompany.com DueDate: '2022-07-16T02:16:06Z' TodoDate: '2022-07-16T02:16:06Z' Timelines: - EntityType: WorkItem EntityKey: 2m6pSFxRzcF2 servers: - url: https://api.karbonhq.com description: The production API server components: examples: Missing_Assignee_Email_Address: description: The error returned when assigning an entity to a user email that does not exist in Karbon value: error: code: '5001' message: Assignee email address is not an active Karbon user Unsupported_option: description: The error returned when the query option in a request is not allowed for by the API value: error: code: '4002' message: Query option '