latestOpenAPI 3.0.3GitGuardian2026-08-201871515.0 MB

511b067cdcb1

Honeytoken Notes

Create an honeytoken note

Add a note on a honeytoken.

post/v1/honeytokens/{honeytoken_id}/notes

Path parameters

honeytoken_idstring uuid required

The id of the honeytoken to retrieve

Request body

commentstring required

Content of the honeytoken note

Example request

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

Response

The note was created successfully.

idstring uuid
honeytoken_idstring uuid

Id of the related Honeytoken

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

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

commentstring

Example response

{
  "id": "1b99892e-6254-4f8a-9e98-559ed810b7da",
  "honeytoken_id": "d45a123f-b15d-4fea-abf6-ff2a8479de5b",
  "member_id": 38,
  "api_token_id": "37d5b0d7-9f89-4b80-9070-261e26637836",
  "created_at": "2019-08-22T14:15:22Z",
  "comment": "I revoked this secret"
}