hog_functions
hog_functions

Hog functions storing the secret mask in place of a real credential.

Such a function authenticates against nothing and fails every send. The original value cannot be restored from our side, so each listed input has to be entered again.

get/api/projects/{project_id}/hog_functions/masked_secrets/

Request

  • Base URL: https://us.posthog.com
  • URL: https://us.posthog.com/api/projects/{project_id}/hog_functions/masked_secrets/
  • Auth: HTTP bearer

Path parameters

project_idstring required

Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.

Response

idstring uuid required

ID of the hog function.

namestring required

Name of the hog function.

typestring required

Hog function type, for example 'destination'.

enabledboolean required

Whether the hog function is enabled.

input_keysstring[] required

Keys of the live secret inputs to enter again. Only keys are returned, never values.

draft_input_keysstring[] required

Keys of the staged draft's secret inputs to enter again. Only keys are returned.

Changes

No recorded changes to this operation across all 1 revision of this API.