latestOpenAPI 3.0.3GitGuardian2026-08-201871515.0 MB

511b067cdcb1

Public Secret Incident Notes

Create a public secret incident note

Add a note on a public secret incident.

post/v1/public-incidents/secrets/{incident_id}/notes

Path parameters

incident_idinteger required

The id of the incident to retrieve

Request body

commentstring required

Content of the incident note

Example request

{
  "comment": "I revoked this secret"
}

Response

The note was created successfully.

idinteger
incident_idinteger

Id of the related Public Incident

member_idinteger nullable

Id of the member who created this note. Can be null if the note was not created by a member or if the member was deleted.

api_token_idstring uuid nullable

ID of the API key which created this note. Can be null if the note was not created via the API.

created_atstring date-time

Creation date of the note

updated_atstring date-time nullable

Last time the content of the note was updated. Null if the comment was never modified.

commentstring nullable

Example response

{
  "id": 17,
  "incident_id": 42,
  "member_id": 38,
  "api_token_id": "3220d951-00ce-446c-ac90-9822f0f9b71e",
  "created_at": "2019-08-22T14:15:22Z",
  "comment": "I revoked this secret"
}