Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Pentest Credentials

Credentials are the logins and API keys a pentest uses to test your application as an authenticated user. They live in the tenant vault, are shared across applications and web services, and are attached to an application through credentialIds or to a web service through its credential mapping.

Secrets are write-only: every response that returns a credential masks password, token, API key, client secret, refresh token and TOTP secret values. Use {credentialId} from the list or create response. Requests are scoped to your tenant by the provider scope parameter (for example githubOwnerId).

Manage credentials

List credentials

Returns the tenant's credentials with a totalCount. With no limit, offset or search it returns every credential; otherwise it returns a page using offset and limit (default 50, maximum 1000) and a case-insensitive search over name, description and type. Note this route pages with offset, not nextToken. Requires the secret-config-read permission.

Get All Credentials

get

Get a page of credentials with optional search, plus the total matching count

Query parameters
limitintegerOptional

Maximum number of credentials to return per page (default 50, max 1000)

offsetintegerOptional

Number of credentials to skip before the page

searchstringOptional

Case-insensitive search over credential name, description and type

azureOrganizationIdstringOptional

The Azure organization ID

bitbucketWorkspaceIdstringOptional

The Bitbucket workspace ID

githubOwnerIdinteger · int64Optional

The Github owner ID

githubInstallationIdinteger · int64Optional

Operator routes only: the GitHub App installation ID to use alongside githubOwnerId when the tenant's stored record has none. Ignored on customer routes.

gitlabGroupIdinteger · int64Optional

The GitLab group ID

installationIdstringOptional

The Nullify installation ID

azureRepositoryIdstring[]Optional

Filter by Azure repository IDs

githubRepositoryIdinteger · int64[]Optional

Filter by GitHub repository IDs

githubTeamIdinteger · int64Optional

Filter by GitHub team ID

bitbucketRepositoryIdstring[]Optional

Filter by Bitbucket repository IDs

Responses
200

OK

application/json
loginEnginestring · enumOptionalPossible values:
totalCountintegerRequired
get/dast/credentials
GET /dast/credentials HTTP/1.1
Host: api.<TENANT>.nullify.ai
Accept: */*
200

OK

{
  "credentials": [
    {
      "config": {
        "apiKey": "text",
        "apiKeyParamName": "text",
        "apiKeyPlacement": "header",
        "appSession": {
          "authKitOrigin": "text",
          "authorizationUrl": "text",
          "blockedOptionalPosts": [
            "text"
          ],
          "callbackUrl": "text",
          "cookieIssuerOrigins": [
            "text"
          ],
          "expectedOrganization": "text",
          "expectedSubject": "text",
          "identifierOrigins": [
            "text"
          ],
          "mode": "text",
          "organizationPath": [
            "text"
          ],
          "probeUrl": "text",
          "reachabilityOnly": true,
          "startSelector": "text",
          "subjectPath": [
            "text"
          ],
          "version": 1
        },
        "audience": "text",
        "auth0Tenant": "text",
        "authPolicy": {
          "credentialOrigins": [
            "text"
          ],
          "mode": "text",
          "navigationOrigins": [
            "text"
          ],
          "version": 1
        },
        "authUrl": "text",
        "clientId": "text",
        "clientSecret": "text",
        "connection": "text",
        "discovered": {
          "authorizeUrl": "text",
          "discoveredAt": "text",
          "fromLoginUrl": "text",
          "tokenUrl": "text",
          "tokenUrlSource": "text"
        },
        "enableLoginOptimization": true,
        "gateway": {
          "hints": "text",
          "loginUrl": "text",
          "password": "text",
          "totp": {
            "algorithm": "text",
            "digits": 1,
            "period": 1,
            "secret": "text"
          },
          "username": "text"
        },
        "hints": "text",
        "idpType": "text",
        "issuer": "text",
        "loginBodyFormat": "form",
        "loginStrategy": "auto",
        "loginUrl": "text",
        "mfaType": "totp",
        "oauthFlow": "client_credentials",
        "password": "text",
        "passwordField": "text",
        "realm": "text",
        "redirectUri": "text",
        "refreshToken": "text",
        "resource": "text",
        "scope": "text",
        "token": "text",
        "tokenPath": "text",
        "tokenType": "text",
        "tokenUrl": "text",
        "totp": {
          "algorithm": "text",
          "digits": 1,
          "period": 1,
          "secret": "text"
        },
        "username": "text",
        "usernameField": "text"
      },
      "createdAt": "2026-01-01T00:00:00.000Z",
      "deletedAt": "2026-01-01T00:00:00.000Z",
      "deletedBy": "text",
      "description": "text",
      "id": "text",
      "isActive": true,
      "isDeleted": true,
      "lastUsed": "2026-01-01T00:00:00.000Z",
      "lastValidatedAt": "2026-01-01T00:00:00.000Z",
      "login": {
        "definition": {
          "apiKeyParamName": "text",
          "apiKeyPlacement": "header",
          "audience": "text",
          "bodyFormat": "form",
          "clientId": "text",
          "gateway": {
            "apiKeyParamName": "text",
            "apiKeyPlacement": "header",
            "audience": "text",
            "bodyFormat": "form",
            "clientId": "text",
            "gateway": "[Circular Reference]",
            "hint": "text",
            "loginUrl": "text",
            "passwordField": "text",
            "realm": "text",
            "resource": "text",
            "scope": "text",
            "secrets": [
              "password"
            ],
            "tokenUrl": "text",
            "username": "text",
            "usernameField": "text"
          },
          "hint": "text",
          "loginUrl": "text",
          "passwordField": "text",
          "realm": "text",
          "resource": "text",
          "scope": "text",
          "secrets": [
            "password"
          ],
          "tokenUrl": "text",
          "username": "text",
          "usernameField": "text"
        },
        "engine": "unified",
        "legacyFields": [
          "text"
        ],
        "needsOperator": true,
        "revision": 1,
        "shape": "password"
      },
      "name": "text",
      "tenantId": "text",
      "type": "username_password",
      "updatedAt": "2026-01-01T00:00:00.000Z",
      "usageCount": 1,
      "validationEvidence": {
        "duration": 1,
        "error": "text",
        "message": "text",
        "reasonCode": "text",
        "responseHeaders": {
          "ANY_ADDITIONAL_PROPERTY": "text"
        },
        "status": "unknown",
        "statusCode": 1,
        "testUrl": "text",
        "validatedBy": "text"
      }
    }
  ],
  "loginEngine": "unified",
  "totalCount": 1
}

Create a credential

Creates a credential from name, type and config (a description is also accepted). Supported types are username_password, api_key, basic_auth, oidc and oauth2; legacy names such as basic, bearer, browser, custom, application_login, application_login_mfa and sso are accepted and normalized to one of those, and other values return 400. The save is checked for the fields the type needs and for a valid auth policy (400 otherwise), but whether the login actually works is only tested by validation. Any discovered block in config is ignored: Nullify writes it during validation. Requires the config-write permission.

Create Credential

post

Create a new unified credential for BugHunt or Pentest

Query parameters
azureOrganizationIdstringOptional

The Azure organization ID

bitbucketWorkspaceIdstringOptional

The Bitbucket workspace ID

githubOwnerIdinteger · int64Optional

The Github owner ID

githubInstallationIdinteger · int64Optional

Operator routes only: the GitHub App installation ID to use alongside githubOwnerId when the tenant's stored record has none. Ignored on customer routes.

gitlabGroupIdinteger · int64Optional

The GitLab group ID

installationIdstringOptional

The Nullify installation ID

azureRepositoryIdstring[]Optional

Filter by Azure repository IDs

githubRepositoryIdinteger · int64[]Optional

Filter by GitHub repository IDs

githubTeamIdinteger · int64Optional

Filter by GitHub team ID

bitbucketRepositoryIdstring[]Optional

Filter by Bitbucket repository IDs

Body
descriptionstringRequired
namestringRequired
typestring · enumRequiredPossible values:
Responses
200

OK

application/json
post/dast/credentials
POST /dast/credentials HTTP/1.1
Host: api.<TENANT>.nullify.ai
Content-Type: application/json
Accept: */*
Content-Length: 1506

{
  "config": {
    "apiKey": "text",
    "apiKeyParamName": "text",
    "apiKeyPlacement": "header",
    "appSession": {
      "authKitOrigin": "text",
      "authorizationUrl": "text",
      "blockedOptionalPosts": [
        "text"
      ],
      "callbackUrl": "text",
      "cookieIssuerOrigins": [
        "text"
      ],
      "expectedOrganization": "text",
      "expectedSubject": "text",
      "identifierOrigins": [
        "text"
      ],
      "mode": "text",
      "organizationPath": [
        "text"
      ],
      "probeUrl": "text",
      "reachabilityOnly": true,
      "startSelector": "text",
      "subjectPath": [
        "text"
      ],
      "version": 1
    },
    "audience": "text",
    "auth0Tenant": "text",
    "authPolicy": {
      "credentialOrigins": [
        "text"
      ],
      "mode": "text",
      "navigationOrigins": [
        "text"
      ],
      "version": 1
    },
    "authUrl": "text",
    "clientId": "text",
    "clientSecret": "text",
    "connection": "text",
    "discovered": {
      "authorizeUrl": "text",
      "discoveredAt": "text",
      "fromLoginUrl": "text",
      "tokenUrl": "text",
      "tokenUrlSource": "text"
    },
    "enableLoginOptimization": true,
    "gateway": {
      "hints": "text",
      "loginUrl": "text",
      "password": "text",
      "totp": {
        "algorithm": "text",
        "digits": 1,
        "period": 1,
        "secret": "text"
      },
      "username": "text"
    },
    "hints": "text",
    "idpType": "text",
    "issuer": "text",
    "loginBodyFormat": "form",
    "loginStrategy": "auto",
    "loginUrl": "text",
    "mfaType": "totp",
    "oauthFlow": "client_credentials",
    "password": "text",
    "passwordField": "text",
    "realm": "text",
    "redirectUri": "text",
    "refreshToken": "text",
    "resource": "text",
    "scope": "text",
    "token": "text",
    "tokenPath": "text",
    "tokenType": "text",
    "tokenUrl": "text",
    "totp": {
      "algorithm": "text",
      "digits": 1,
      "period": 1,
      "secret": "text"
    },
    "username": "text",
    "usernameField": "text"
  },
  "description": "text",
  "name": "text",
  "type": "username_password"
}
200

OK

{
  "credential": {
    "config": {
      "apiKey": "text",
      "apiKeyParamName": "text",
      "apiKeyPlacement": "header",
      "appSession": {
        "authKitOrigin": "text",
        "authorizationUrl": "text",
        "blockedOptionalPosts": [
          "text"
        ],
        "callbackUrl": "text",
        "cookieIssuerOrigins": [
          "text"
        ],
        "expectedOrganization": "text",
        "expectedSubject": "text",
        "identifierOrigins": [
          "text"
        ],
        "mode": "text",
        "organizationPath": [
          "text"
        ],
        "probeUrl": "text",
        "reachabilityOnly": true,
        "startSelector": "text",
        "subjectPath": [
          "text"
        ],
        "version": 1
      },
      "audience": "text",
      "auth0Tenant": "text",
      "authPolicy": {
        "credentialOrigins": [
          "text"
        ],
        "mode": "text",
        "navigationOrigins": [
          "text"
        ],
        "version": 1
      },
      "authUrl": "text",
      "clientId": "text",
      "clientSecret": "text",
      "connection": "text",
      "discovered": {
        "authorizeUrl": "text",
        "discoveredAt": "text",
        "fromLoginUrl": "text",
        "tokenUrl": "text",
        "tokenUrlSource": "text"
      },
      "enableLoginOptimization": true,
      "gateway": {
        "hints": "text",
        "loginUrl": "text",
        "password": "text",
        "totp": {
          "algorithm": "text",
          "digits": 1,
          "period": 1,
          "secret": "text"
        },
        "username": "text"
      },
      "hints": "text",
      "idpType": "text",
      "issuer": "text",
      "loginBodyFormat": "form",
      "loginStrategy": "auto",
      "loginUrl": "text",
      "mfaType": "totp",
      "oauthFlow": "client_credentials",
      "password": "text",
      "passwordField": "text",
      "realm": "text",
      "redirectUri": "text",
      "refreshToken": "text",
      "resource": "text",
      "scope": "text",
      "token": "text",
      "tokenPath": "text",
      "tokenType": "text",
      "tokenUrl": "text",
      "totp": {
        "algorithm": "text",
        "digits": 1,
        "period": 1,
        "secret": "text"
      },
      "username": "text",
      "usernameField": "text"
    },
    "createdAt": "2026-01-01T00:00:00.000Z",
    "deletedAt": "2026-01-01T00:00:00.000Z",
    "deletedBy": "text",
    "description": "text",
    "id": "text",
    "isActive": true,
    "isDeleted": true,
    "lastUsed": "2026-01-01T00:00:00.000Z",
    "lastValidatedAt": "2026-01-01T00:00:00.000Z",
    "login": {
      "definition": {
        "apiKeyParamName": "text",
        "apiKeyPlacement": "header",
        "audience": "text",
        "bodyFormat": "form",
        "clientId": "text",
        "gateway": {
          "apiKeyParamName": "text",
          "apiKeyPlacement": "header",
          "audience": "text",
          "bodyFormat": "form",
          "clientId": "text",
          "gateway": {
            "apiKeyParamName": "text",
            "apiKeyPlacement": "header",
            "audience": "text",
            "bodyFormat": "form",
            "clientId": "text",
            "gateway": "[Circular Reference]",
            "hint": "text",
            "loginUrl": "text",
            "passwordField": "text",
            "realm": "text",
            "resource": "text",
            "scope": "text",
            "secrets": [
              "password"
            ],
            "tokenUrl": "text",
            "username": "text",
            "usernameField": "text"
          },
          "hint": "text",
          "loginUrl": "text",
          "passwordField": "text",
          "realm": "text",
          "resource": "text",
          "scope": "text",
          "secrets": [
            "password"
          ],
          "tokenUrl": "text",
          "username": "text",
          "usernameField": "text"
        },
        "hint": "text",
        "loginUrl": "text",
        "passwordField": "text",
        "realm": "text",
        "resource": "text",
        "scope": "text",
        "secrets": [
          "password"
        ],
        "tokenUrl": "text",
        "username": "text",
        "usernameField": "text"
      },
      "engine": "unified",
      "legacyFields": [
        "text"
      ],
      "needsOperator": true,
      "revision": 1,
      "shape": "password"
    },
    "name": "text",
    "tenantId": "text",
    "type": "username_password",
    "updatedAt": "2026-01-01T00:00:00.000Z",
    "usageCount": 1,
    "validationEvidence": {
      "duration": 1,
      "error": "text",
      "message": "text",
      "reasonCode": "text",
      "responseHeaders": {
        "ANY_ADDITIONAL_PROPERTY": "text"
      },
      "status": "unknown",
      "statusCode": 1,
      "testUrl": "text",
      "validatedBy": "text"
    }
  }
}

Get a credential

Returns one credential with secrets masked, or 404 if the id does not exist in your tenant. Requires the secret-config-read permission.

Get Credential

get

Get a specific credential by ID

Path parameters
credentialIdstringRequired
Query parameters
azureOrganizationIdstringOptional

The Azure organization ID

bitbucketWorkspaceIdstringOptional

The Bitbucket workspace ID

githubOwnerIdinteger · int64Optional

The Github owner ID

githubInstallationIdinteger · int64Optional

Operator routes only: the GitHub App installation ID to use alongside githubOwnerId when the tenant's stored record has none. Ignored on customer routes.

gitlabGroupIdinteger · int64Optional

The GitLab group ID

installationIdstringOptional

The Nullify installation ID

azureRepositoryIdstring[]Optional

Filter by Azure repository IDs

githubRepositoryIdinteger · int64[]Optional

Filter by GitHub repository IDs

githubTeamIdinteger · int64Optional

Filter by GitHub team ID

bitbucketRepositoryIdstring[]Optional

Filter by Bitbucket repository IDs

Responses
200

OK

application/json
get/dast/credentials/{credentialId}
GET /dast/credentials/{credentialId} HTTP/1.1
Host: api.<TENANT>.nullify.ai
Accept: */*
200

OK

{
  "credential": {
    "config": {
      "apiKey": "text",
      "apiKeyParamName": "text",
      "apiKeyPlacement": "header",
      "appSession": {
        "authKitOrigin": "text",
        "authorizationUrl": "text",
        "blockedOptionalPosts": [
          "text"
        ],
        "callbackUrl": "text",
        "cookieIssuerOrigins": [
          "text"
        ],
        "expectedOrganization": "text",
        "expectedSubject": "text",
        "identifierOrigins": [
          "text"
        ],
        "mode": "text",
        "organizationPath": [
          "text"
        ],
        "probeUrl": "text",
        "reachabilityOnly": true,
        "startSelector": "text",
        "subjectPath": [
          "text"
        ],
        "version": 1
      },
      "audience": "text",
      "auth0Tenant": "text",
      "authPolicy": {
        "credentialOrigins": [
          "text"
        ],
        "mode": "text",
        "navigationOrigins": [
          "text"
        ],
        "version": 1
      },
      "authUrl": "text",
      "clientId": "text",
      "clientSecret": "text",
      "connection": "text",
      "discovered": {
        "authorizeUrl": "text",
        "discoveredAt": "text",
        "fromLoginUrl": "text",
        "tokenUrl": "text",
        "tokenUrlSource": "text"
      },
      "enableLoginOptimization": true,
      "gateway": {
        "hints": "text",
        "loginUrl": "text",
        "password": "text",
        "totp": {
          "algorithm": "text",
          "digits": 1,
          "period": 1,
          "secret": "text"
        },
        "username": "text"
      },
      "hints": "text",
      "idpType": "text",
      "issuer": "text",
      "loginBodyFormat": "form",
      "loginStrategy": "auto",
      "loginUrl": "text",
      "mfaType": "totp",
      "oauthFlow": "client_credentials",
      "password": "text",
      "passwordField": "text",
      "realm": "text",
      "redirectUri": "text",
      "refreshToken": "text",
      "resource": "text",
      "scope": "text",
      "token": "text",
      "tokenPath": "text",
      "tokenType": "text",
      "tokenUrl": "text",
      "totp": {
        "algorithm": "text",
        "digits": 1,
        "period": 1,
        "secret": "text"
      },
      "username": "text",
      "usernameField": "text"
    },
    "createdAt": "2026-01-01T00:00:00.000Z",
    "deletedAt": "2026-01-01T00:00:00.000Z",
    "deletedBy": "text",
    "description": "text",
    "id": "text",
    "isActive": true,
    "isDeleted": true,
    "lastUsed": "2026-01-01T00:00:00.000Z",
    "lastValidatedAt": "2026-01-01T00:00:00.000Z",
    "login": {
      "definition": {
        "apiKeyParamName": "text",
        "apiKeyPlacement": "header",
        "audience": "text",
        "bodyFormat": "form",
        "clientId": "text",
        "gateway": {
          "apiKeyParamName": "text",
          "apiKeyPlacement": "header",
          "audience": "text",
          "bodyFormat": "form",
          "clientId": "text",
          "gateway": {
            "apiKeyParamName": "text",
            "apiKeyPlacement": "header",
            "audience": "text",
            "bodyFormat": "form",
            "clientId": "text",
            "gateway": "[Circular Reference]",
            "hint": "text",
            "loginUrl": "text",
            "passwordField": "text",
            "realm": "text",
            "resource": "text",
            "scope": "text",
            "secrets": [
              "password"
            ],
            "tokenUrl": "text",
            "username": "text",
            "usernameField": "text"
          },
          "hint": "text",
          "loginUrl": "text",
          "passwordField": "text",
          "realm": "text",
          "resource": "text",
          "scope": "text",
          "secrets": [
            "password"
          ],
          "tokenUrl": "text",
          "username": "text",
          "usernameField": "text"
        },
        "hint": "text",
        "loginUrl": "text",
        "passwordField": "text",
        "realm": "text",
        "resource": "text",
        "scope": "text",
        "secrets": [
          "password"
        ],
        "tokenUrl": "text",
        "username": "text",
        "usernameField": "text"
      },
      "engine": "unified",
      "legacyFields": [
        "text"
      ],
      "needsOperator": true,
      "revision": 1,
      "shape": "password"
    },
    "name": "text",
    "tenantId": "text",
    "type": "username_password",
    "updatedAt": "2026-01-01T00:00:00.000Z",
    "usageCount": 1,
    "validationEvidence": {
      "duration": 1,
      "error": "text",
      "message": "text",
      "reasonCode": "text",
      "responseHeaders": {
        "ANY_ADDITIONAL_PROPERTY": "text"
      },
      "status": "unknown",
      "statusCode": 1,
      "testUrl": "text",
      "validatedBy": "text"
    }
  }
}

Update a credential

Replaces the credential's name, description, type and config; name and type are required and the same type normalization and checks as create apply. It is a full replacement, so send the whole configuration. The server-written discovered block is preserved rather than taken from the request. Requires the config-write permission.

Update Credential

put

Update an existing credential

Path parameters
credentialIdstringRequired
Query parameters
azureOrganizationIdstringOptional

The Azure organization ID

bitbucketWorkspaceIdstringOptional

The Bitbucket workspace ID

githubOwnerIdinteger · int64Optional

The Github owner ID

githubInstallationIdinteger · int64Optional

Operator routes only: the GitHub App installation ID to use alongside githubOwnerId when the tenant's stored record has none. Ignored on customer routes.

gitlabGroupIdinteger · int64Optional

The GitLab group ID

installationIdstringOptional

The Nullify installation ID

azureRepositoryIdstring[]Optional

Filter by Azure repository IDs

githubRepositoryIdinteger · int64[]Optional

Filter by GitHub repository IDs

githubTeamIdinteger · int64Optional

Filter by GitHub team ID

bitbucketRepositoryIdstring[]Optional

Filter by Bitbucket repository IDs

Body
descriptionstringRequired
namestringRequired
typestring · enumRequiredPossible values:
Responses
200

OK

application/json
put/dast/credentials/{credentialId}
PUT /dast/credentials/{credentialId} HTTP/1.1
Host: api.<TENANT>.nullify.ai
Content-Type: application/json
Accept: */*
Content-Length: 1506

{
  "config": {
    "apiKey": "text",
    "apiKeyParamName": "text",
    "apiKeyPlacement": "header",
    "appSession": {
      "authKitOrigin": "text",
      "authorizationUrl": "text",
      "blockedOptionalPosts": [
        "text"
      ],
      "callbackUrl": "text",
      "cookieIssuerOrigins": [
        "text"
      ],
      "expectedOrganization": "text",
      "expectedSubject": "text",
      "identifierOrigins": [
        "text"
      ],
      "mode": "text",
      "organizationPath": [
        "text"
      ],
      "probeUrl": "text",
      "reachabilityOnly": true,
      "startSelector": "text",
      "subjectPath": [
        "text"
      ],
      "version": 1
    },
    "audience": "text",
    "auth0Tenant": "text",
    "authPolicy": {
      "credentialOrigins": [
        "text"
      ],
      "mode": "text",
      "navigationOrigins": [
        "text"
      ],
      "version": 1
    },
    "authUrl": "text",
    "clientId": "text",
    "clientSecret": "text",
    "connection": "text",
    "discovered": {
      "authorizeUrl": "text",
      "discoveredAt": "text",
      "fromLoginUrl": "text",
      "tokenUrl": "text",
      "tokenUrlSource": "text"
    },
    "enableLoginOptimization": true,
    "gateway": {
      "hints": "text",
      "loginUrl": "text",
      "password": "text",
      "totp": {
        "algorithm": "text",
        "digits": 1,
        "period": 1,
        "secret": "text"
      },
      "username": "text"
    },
    "hints": "text",
    "idpType": "text",
    "issuer": "text",
    "loginBodyFormat": "form",
    "loginStrategy": "auto",
    "loginUrl": "text",
    "mfaType": "totp",
    "oauthFlow": "client_credentials",
    "password": "text",
    "passwordField": "text",
    "realm": "text",
    "redirectUri": "text",
    "refreshToken": "text",
    "resource": "text",
    "scope": "text",
    "token": "text",
    "tokenPath": "text",
    "tokenType": "text",
    "tokenUrl": "text",
    "totp": {
      "algorithm": "text",
      "digits": 1,
      "period": 1,
      "secret": "text"
    },
    "username": "text",
    "usernameField": "text"
  },
  "description": "text",
  "name": "text",
  "type": "username_password"
}
200

OK

{
  "credential": {
    "config": {
      "apiKey": "text",
      "apiKeyParamName": "text",
      "apiKeyPlacement": "header",
      "appSession": {
        "authKitOrigin": "text",
        "authorizationUrl": "text",
        "blockedOptionalPosts": [
          "text"
        ],
        "callbackUrl": "text",
        "cookieIssuerOrigins": [
          "text"
        ],
        "expectedOrganization": "text",
        "expectedSubject": "text",
        "identifierOrigins": [
          "text"
        ],
        "mode": "text",
        "organizationPath": [
          "text"
        ],
        "probeUrl": "text",
        "reachabilityOnly": true,
        "startSelector": "text",
        "subjectPath": [
          "text"
        ],
        "version": 1
      },
      "audience": "text",
      "auth0Tenant": "text",
      "authPolicy": {
        "credentialOrigins": [
          "text"
        ],
        "mode": "text",
        "navigationOrigins": [
          "text"
        ],
        "version": 1
      },
      "authUrl": "text",
      "clientId": "text",
      "clientSecret": "text",
      "connection": "text",
      "discovered": {
        "authorizeUrl": "text",
        "discoveredAt": "text",
        "fromLoginUrl": "text",
        "tokenUrl": "text",
        "tokenUrlSource": "text"
      },
      "enableLoginOptimization": true,
      "gateway": {
        "hints": "text",
        "loginUrl": "text",
        "password": "text",
        "totp": {
          "algorithm": "text",
          "digits": 1,
          "period": 1,
          "secret": "text"
        },
        "username": "text"
      },
      "hints": "text",
      "idpType": "text",
      "issuer": "text",
      "loginBodyFormat": "form",
      "loginStrategy": "auto",
      "loginUrl": "text",
      "mfaType": "totp",
      "oauthFlow": "client_credentials",
      "password": "text",
      "passwordField": "text",
      "realm": "text",
      "redirectUri": "text",
      "refreshToken": "text",
      "resource": "text",
      "scope": "text",
      "token": "text",
      "tokenPath": "text",
      "tokenType": "text",
      "tokenUrl": "text",
      "totp": {
        "algorithm": "text",
        "digits": 1,
        "period": 1,
        "secret": "text"
      },
      "username": "text",
      "usernameField": "text"
    },
    "createdAt": "2026-01-01T00:00:00.000Z",
    "deletedAt": "2026-01-01T00:00:00.000Z",
    "deletedBy": "text",
    "description": "text",
    "id": "text",
    "isActive": true,
    "isDeleted": true,
    "lastUsed": "2026-01-01T00:00:00.000Z",
    "lastValidatedAt": "2026-01-01T00:00:00.000Z",
    "login": {
      "definition": {
        "apiKeyParamName": "text",
        "apiKeyPlacement": "header",
        "audience": "text",
        "bodyFormat": "form",
        "clientId": "text",
        "gateway": {
          "apiKeyParamName": "text",
          "apiKeyPlacement": "header",
          "audience": "text",
          "bodyFormat": "form",
          "clientId": "text",
          "gateway": {
            "apiKeyParamName": "text",
            "apiKeyPlacement": "header",
            "audience": "text",
            "bodyFormat": "form",
            "clientId": "text",
            "gateway": "[Circular Reference]",
            "hint": "text",
            "loginUrl": "text",
            "passwordField": "text",
            "realm": "text",
            "resource": "text",
            "scope": "text",
            "secrets": [
              "password"
            ],
            "tokenUrl": "text",
            "username": "text",
            "usernameField": "text"
          },
          "hint": "text",
          "loginUrl": "text",
          "passwordField": "text",
          "realm": "text",
          "resource": "text",
          "scope": "text",
          "secrets": [
            "password"
          ],
          "tokenUrl": "text",
          "username": "text",
          "usernameField": "text"
        },
        "hint": "text",
        "loginUrl": "text",
        "passwordField": "text",
        "realm": "text",
        "resource": "text",
        "scope": "text",
        "secrets": [
          "password"
        ],
        "tokenUrl": "text",
        "username": "text",
        "usernameField": "text"
      },
      "engine": "unified",
      "legacyFields": [
        "text"
      ],
      "needsOperator": true,
      "revision": 1,
      "shape": "password"
    },
    "name": "text",
    "tenantId": "text",
    "type": "username_password",
    "updatedAt": "2026-01-01T00:00:00.000Z",
    "usageCount": 1,
    "validationEvidence": {
      "duration": 1,
      "error": "text",
      "message": "text",
      "reasonCode": "text",
      "responseHeaders": {
        "ANY_ADDITIONAL_PROPERTY": "text"
      },
      "status": "unknown",
      "statusCode": 1,
      "testUrl": "text",
      "validatedBy": "text"
    }
  }
}

Delete a credential

Deletes the credential and records the caller as the deleter. Returns 404 if it does not exist in your tenant. Requires the config-write permission.

Delete Credential

delete

Delete a credential

Path parameters
credentialIdstringRequired
Query parameters
azureOrganizationIdstringOptional

The Azure organization ID

bitbucketWorkspaceIdstringOptional

The Bitbucket workspace ID

githubOwnerIdinteger · int64Optional

The Github owner ID

githubInstallationIdinteger · int64Optional

Operator routes only: the GitHub App installation ID to use alongside githubOwnerId when the tenant's stored record has none. Ignored on customer routes.

gitlabGroupIdinteger · int64Optional

The GitLab group ID

installationIdstringOptional

The Nullify installation ID

azureRepositoryIdstring[]Optional

Filter by Azure repository IDs

githubRepositoryIdinteger · int64[]Optional

Filter by GitHub repository IDs

githubTeamIdinteger · int64Optional

Filter by GitHub team ID

bitbucketRepositoryIdstring[]Optional

Filter by Bitbucket repository IDs

Responses
200

OK

application/json
successbooleanRequired
delete/dast/credentials/{credentialId}
DELETE /dast/credentials/{credentialId} HTTP/1.1
Host: api.<TENANT>.nullify.ai
Accept: */*
200

OK

{
  "success": true
}

Validate credentials

Validation tests that Nullify can authenticate with a credential, using the safest supported check. Simple credentials are settled inline. Interactive logins (for example a browser form login) are queued, and the response then has outcome inconclusive, an empty validatedAt and a validationId: poll Credential validation status until the run finishes. All validation routes require the config-write permission except the two read routes.

Errors on the single-credential routes: 404 for an unknown credential, 409 when a validation is already running for it, 429 once the tenant has used its daily allowance of 20 interactive validation runs, and 409 (aborted) when the credential was changed while the check ran, in which case retry.

Validate a credential

Validates one credential and records the attempt in its history. Optional testUrl overrides the URL to authenticate against; without it the server uses the credential's login or token URL, or the application's target. The response carries valid, outcome, reasonCode, validationId and evidence. Only a verdict produced by your target updates the credential's own validation state, so a timeout or a WAF block is recorded as an attempt without marking the credential broken.

Validate Credential

post

Validate a credential using the safest supported authentication check. Interactive checks may be queued: an inconclusive response with an empty validatedAt means validation is in progress. Poll GET /dast/credentials/{credentialId}/validations/status for completion.

Path parameters
credentialIdstringRequired
Query parameters
azureOrganizationIdstringOptional

The Azure organization ID

bitbucketWorkspaceIdstringOptional

The Bitbucket workspace ID

githubOwnerIdinteger · int64Optional

The Github owner ID

githubInstallationIdinteger · int64Optional

Operator routes only: the GitHub App installation ID to use alongside githubOwnerId when the tenant's stored record has none. Ignored on customer routes.

gitlabGroupIdinteger · int64Optional

The GitLab group ID

installationIdstringOptional

The Nullify installation ID

azureRepositoryIdstring[]Optional

Filter by Azure repository IDs

githubRepositoryIdinteger · int64[]Optional

Filter by GitHub repository IDs

githubTeamIdinteger · int64Optional

Filter by GitHub team ID

bitbucketRepositoryIdstring[]Optional

Filter by Bitbucket repository IDs

Body
testUrlstringOptional
Responses
200

OK

application/json
messagestringOptional
outcomestringOptional
reasonCodestringOptional
validbooleanRequired
validatedAtstringRequired
validationIdstringOptional
post/dast/credentials/{credentialId}/validate
POST /dast/credentials/{credentialId}/validate HTTP/1.1
Host: api.<TENANT>.nullify.ai
Content-Type: application/json
Accept: */*
Content-Length: 18

{
  "testUrl": "text"
}
200

OK

{
  "message": "text",
  "outcome": "text",
  "reasonCode": "text",
  "valid": true,
  "validatedAt": "text",
  "validationEvidence": {
    "duration": 1,
    "error": "text",
    "message": "text",
    "reasonCode": "text",
    "responseHeaders": {
      "ANY_ADDITIONAL_PROPERTY": "text"
    },
    "status": "unknown",
    "statusCode": 1,
    "testUrl": "text",
    "validatedBy": "text"
  },
  "validationId": "text"
}

Validate several credentials

Validates up to 50 credentials in one request, sequentially, using credentialIds and an optional testUrl applied to all. The response has one entry per id in results. A credential that is missing or fails to validate does not fail the batch; its entry reports the error with an inconclusive outcome. Queued interactive checks appear as inconclusive with an empty validatedAt; poll their status individually. More than 50 ids returns 400.

Validate Credentials

post

Validate a batch of credentials against a service. Interactive checks may be queued: results with an inconclusive outcome and empty validatedAt are still in progress. Poll GET /dast/credentials/{credentialId}/validations/status for each queued credential.

Query parameters
azureOrganizationIdstringOptional

The Azure organization ID

bitbucketWorkspaceIdstringOptional

The Bitbucket workspace ID

githubOwnerIdinteger · int64Optional

The Github owner ID

githubInstallationIdinteger · int64Optional

Operator routes only: the GitHub App installation ID to use alongside githubOwnerId when the tenant's stored record has none. Ignored on customer routes.

gitlabGroupIdinteger · int64Optional

The GitLab group ID

installationIdstringOptional

The Nullify installation ID

azureRepositoryIdstring[]Optional

Filter by Azure repository IDs

githubRepositoryIdinteger · int64[]Optional

Filter by GitHub repository IDs

githubTeamIdinteger · int64Optional

Filter by GitHub team ID

bitbucketRepositoryIdstring[]Optional

Filter by Bitbucket repository IDs

Body
credentialIdsstring[] · nullableRequired
testUrlstringOptional
Responses
200

OK

application/json
post/dast/credentials/validate
POST /dast/credentials/validate HTTP/1.1
Host: api.<TENANT>.nullify.ai
Content-Type: application/json
Accept: */*
Content-Length: 43

{
  "credentialIds": [
    "text"
  ],
  "testUrl": "text"
}
200

OK

{
  "results": [
    {
      "credentialId": "text",
      "message": "text",
      "outcome": "text",
      "reasonCode": "text",
      "valid": true,
      "validatedAt": "text",
      "validationEvidence": {
        "duration": 1,
        "error": "text",
        "message": "text",
        "reasonCode": "text",
        "responseHeaders": {
          "ANY_ADDITIONAL_PROPERTY": "text"
        },
        "status": "unknown",
        "statusCode": 1,
        "testUrl": "text",
        "validatedBy": "text"
      },
      "validationId": "text"
    }
  ]
}

Start a credential validation

Starts a validation for one credential, running an interactive login where an inline check cannot settle it. The body takes an optional testUrl. The response is the run: runStatus, runId, startedAt, expiresAt, retryAt, outcome, reasonCode and the validation evidence. An attempt expires after 15 minutes. This is the newer equivalent of the single-credential validate route and uses the same service call.

Start Credential Validation

post

Validate a credential, running an interactive login where an inline check cannot settle it

Path parameters
credentialIdstringRequired
Query parameters
azureOrganizationIdstringOptional

The Azure organization ID

bitbucketWorkspaceIdstringOptional

The Bitbucket workspace ID

githubOwnerIdinteger · int64Optional

The Github owner ID

githubInstallationIdinteger · int64Optional

Operator routes only: the GitHub App installation ID to use alongside githubOwnerId when the tenant's stored record has none. Ignored on customer routes.

gitlabGroupIdinteger · int64Optional

The GitLab group ID

installationIdstringOptional

The Nullify installation ID

azureRepositoryIdstring[]Optional

Filter by Azure repository IDs

githubRepositoryIdinteger · int64[]Optional

Filter by GitHub repository IDs

githubTeamIdinteger · int64Optional

Filter by GitHub team ID

bitbucketRepositoryIdstring[]Optional

Filter by Bitbucket repository IDs

Body
testUrlstringOptional
Responses
200

OK

application/json
expiresAtstringOptional
outcomestringOptional
reasonCodestring · enumOptionalPossible values:
retryAtstringOptional
runIdstringRequired
runStatusstringRequired
startedAtstringOptional
post/dast/credentials/{credentialId}/validations
POST /dast/credentials/{credentialId}/validations HTTP/1.1
Host: api.<TENANT>.nullify.ai
Content-Type: application/json
Accept: */*
Content-Length: 18

{
  "testUrl": "text"
}
200

OK

{
  "expiresAt": "text",
  "outcome": "text",
  "reasonCode": "timeout",
  "retryAt": "text",
  "runId": "text",
  "runStatus": "text",
  "startedAt": "text",
  "validation": {
    "credentialId": "text",
    "durationMs": 1,
    "error": "text",
    "hint": "text",
    "id": "text",
    "message": "text",
    "reasonCode": "text",
    "startedAt": "2026-01-01T00:00:00.000Z",
    "status": "unknown",
    "statusCode": 1,
    "targetId": "text",
    "testUrl": "text",
    "trigger": "manual",
    "validatedAt": "2026-01-01T00:00:00.000Z",
    "validatedBy": "text",
    "webServiceId": "text"
  }
}

Credential validation status

Reports the credential's current validation run in the same shape as the start response. It is a plain read that does not expose secret material, so poll it while a queued validation is running and stop when runStatus is no longer live.

Credential Validation Status

get

Report the credential's current validation attempt

Path parameters
credentialIdstringRequired
Query parameters
azureOrganizationIdstringOptional

The Azure organization ID

bitbucketWorkspaceIdstringOptional

The Bitbucket workspace ID

githubOwnerIdinteger · int64Optional

The Github owner ID

githubInstallationIdinteger · int64Optional

Operator routes only: the GitHub App installation ID to use alongside githubOwnerId when the tenant's stored record has none. Ignored on customer routes.

gitlabGroupIdinteger · int64Optional

The GitLab group ID

installationIdstringOptional

The Nullify installation ID

azureRepositoryIdstring[]Optional

Filter by Azure repository IDs

githubRepositoryIdinteger · int64[]Optional

Filter by GitHub repository IDs

githubTeamIdinteger · int64Optional

Filter by GitHub team ID

bitbucketRepositoryIdstring[]Optional

Filter by Bitbucket repository IDs

Responses
200

OK

application/json
expiresAtstringOptional
outcomestringOptional
reasonCodestring · enumOptionalPossible values:
retryAtstringOptional
runIdstringRequired
runStatusstringRequired
startedAtstringOptional
get/dast/credentials/{credentialId}/validations/status
GET /dast/credentials/{credentialId}/validations/status HTTP/1.1
Host: api.<TENANT>.nullify.ai
Accept: */*
200

OK

{
  "expiresAt": "text",
  "outcome": "text",
  "reasonCode": "timeout",
  "retryAt": "text",
  "runId": "text",
  "runStatus": "text",
  "startedAt": "text",
  "validation": {
    "credentialId": "text",
    "durationMs": 1,
    "error": "text",
    "hint": "text",
    "id": "text",
    "message": "text",
    "reasonCode": "text",
    "startedAt": "2026-01-01T00:00:00.000Z",
    "status": "unknown",
    "statusCode": 1,
    "targetId": "text",
    "testUrl": "text",
    "trigger": "manual",
    "validatedAt": "2026-01-01T00:00:00.000Z",
    "validatedBy": "text",
    "webServiceId": "text"
  }
}

Credential validation history

Lists past validation attempts for the credential, paginated with nextToken and limit.

Credential Validation History

get

List a credential's authentication validation history

Path parameters
credentialIdstringRequired
Query parameters
nextTokenstringOptional
limitintegerOptional
azureOrganizationIdstringOptional

The Azure organization ID

bitbucketWorkspaceIdstringOptional

The Bitbucket workspace ID

githubOwnerIdinteger · int64Optional

The Github owner ID

githubInstallationIdinteger · int64Optional

Operator routes only: the GitHub App installation ID to use alongside githubOwnerId when the tenant's stored record has none. Ignored on customer routes.

gitlabGroupIdinteger · int64Optional

The GitLab group ID

installationIdstringOptional

The Nullify installation ID

azureRepositoryIdstring[]Optional

Filter by Azure repository IDs

githubRepositoryIdinteger · int64[]Optional

Filter by GitHub repository IDs

githubTeamIdinteger · int64Optional

Filter by GitHub team ID

bitbucketRepositoryIdstring[]Optional

Filter by Bitbucket repository IDs

Responses
200

OK

application/json
nextTokenstringRequired
get/dast/credentials/{credentialId}/validations
GET /dast/credentials/{credentialId}/validations HTTP/1.1
Host: api.<TENANT>.nullify.ai
Accept: */*
200

OK

{
  "nextToken": "text",
  "validations": [
    {
      "credentialId": "text",
      "durationMs": 1,
      "error": "text",
      "hint": "text",
      "id": "text",
      "message": "text",
      "reasonCode": "text",
      "startedAt": "2026-01-01T00:00:00.000Z",
      "status": "unknown",
      "statusCode": 1,
      "targetId": "text",
      "testUrl": "text",
      "trigger": "manual",
      "validatedAt": "2026-01-01T00:00:00.000Z",
      "validatedBy": "text",
      "webServiceId": "text"
    }
  ]
}

Last updated