Abyss Crypt
  • Abyss Crypt
  • Setup
    • Core
    • Encryption/Decryption
  • About
    • Links
Powered by GitBook
On this page
  • Using the NPM Core Package
  • Standalone
  1. Setup

Core

PreviousAbyss CryptNextEncryption/Decryption

Last updated 8 months ago

Using the NPM Core Package

The Core setup will allow you to use the core methods to access the service API.

AbyssCryptCore.setConfig({
      // Your Crypt Account API key
      apiKey: "crypt-account-api-key",
});
AbyssCryptCore.enableAxiosRetry();

Standalone

If you are not using the to access the API, you can skip this step and just set your API key on the HTTP request header.

// HTTP Version
GET /api/user/me HTTP/1.1
Host: crypt-api.abyss-project.fr
abyss-crypt-api-key: "abyss-crypt-api-key"

// Curl Version
curl --location 'https://crypt-api.abyss-project.fr/api/user/me' \
--header 'abyss-crypt-api-key: abyss-crypt-api-key'

abyss-crypt-api-key:allow you to access account endpoint

NPM package
How to create an API Key ?