Skip to content

Latest commit

 

History

History
56 lines (40 loc) · 1.17 KB

ProjectApi.md

File metadata and controls

56 lines (40 loc) · 1.17 KB

VerificationApi.ProjectApi

All URIs are relative to https://api.passbase.com/verification/v2

Method HTTP request Description
getSettings GET /settings Get project settings

getSettings

ProjectSettings getSettings()

Get project settings

Get project settings

Example

const {
  PassbaseClient,
  PassbaseConfiguration,
  ResponseFormats,
} = require("@passbase/node");
const apiKey = "[redacted]";
const config = new PassbaseConfiguration({
  apiKey,
  format: ResponseFormats.Json,
});
const client = new PassbaseClient(config);
client.getSettings().then(
  data => {
    console.log("API called successfully. Returned data: " + data);
  },
  error => {
    console.error(error);
  },
);

Parameters

This endpoint does not need any parameter.

Return type

ProjectSettings

Authorization

SecretApiKey

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json