API GUIDE

3vidence API

Auth

Check Auth health

GET https://api.3vidence.com/auth/health

This endpoint helps to verify all the systems related to auth system are OK.

{
  "db": "Ok",
  "crypto": "Ok",
  "http": "Ok"
}
curl --request GET \
  --url https://api.3vidence.com/auth/health

Verify your account

GET https://api.3vidence.com/auth/verification/YOUR_VERIFICATION_CODE

This endpoint helps you to verify your account.

Path Parameters

Name
Type
Description

YOUR_VERIFICATION_CODE

string

an hexadecimal code, it was sent it to your email.

Login

POST https://api.3vidence.com/auth/login

Login at 3vidence

Request Body

Name
Type
Description

password

string

Your hex password

email

string

Your email

Update your password

PUT https://api.3vidence.com/auth/password

This endpoint helps you to update your login password

Headers

Name
Type
Description

authorization

string

YOUR_LOGIN_JWT (you can get from login endpoint)

HTSP

Check HTSP health

GET https://api.3vidence.com/htsp/health

This endpoint helps you to check htsp status systems are OK

Create a subject

POST https://api.3vidence.com/htsp/subject

This endpoint helps you to create a subject

Headers

Name
Type
Description

authorization

string

YOUR_LOGIN_JWT (you can get from login endpoint)

Request Body

Name
Type
Description

type

string

"email"

subject

string

an email

Verify your subject

GET https://api.3vidence.com/htsp/verification/YOUR_VERIFICATION_CODE

This endpoint helps you to verify a subject

Path Parameters

Name
Type
Description

YOUR_VERIFICATION_CODE

string

It was sent it to your email

Headers

Name
Type
Description

authorization

string

YOUR_LOGIN_JWT (you can get from login endpoint)

Delete a subject

DELETE https://api.3vidence.com/htsp/subject

This endpoint helps you to delete a subject

Headers

Name
Type
Description

authorization

string

YOUR_LOGIN_JWT (you can get from login endpoint)

Request Body

Name
Type
Description

id_sec

string

YOUR_ID_SEC (you get it from create subject)

Create a branch

POST https://api.3vidence.com/htsp/branch

This endpoint helps you to create a branch

Headers

Name
Type
Description

authorization

string

YOUR_LOGIN_JWT (you can get from login endpoint)

Request Body

Name
Type
Description

id_sec

string

YOUR_ID_SEC

suite

string

["ed25519+dilithium2","ed25519+rsa"]

branch

string

YOUR_BRANCH_NAME

Delete a branch

DELETE https://api.3vidence.com/htsp/branch

This endpoint helps you to delete a branch

Path Parameters

Name
Type
Description

kid

string

First 64 characters from your apikey

Headers

Name
Type
Description

authorization

string

YOUR_LOGIN_JWT (you can get from login endpoint)

Update API key password

PUT https://api.3vidence.com/htsp/apikey

This endpoint helps you to update the API key password

Path Parameters

Name
Type
Description

authorization

string

YOUR_LOGIN_JWT (you can get from login endpoint)

Request Body

Name
Type
Description

api_key

string

YOUR_API_KEY (you get it from create branch)

Public key info

GET https://api.3vidence.com/htsp/pubkey/YOUR_KID

Sign anonymously

POST https://api.3vidence.com//htsp/open/htsq

Request Body

Name
Type
Description

hash

string

YOUR_HASH

algorithm

string

["sha224","sha3224","sha256","sha3_256","sha384","sha3_384","sha512","sha3_512","whirlpool

Sign

POST https://api.3vidence.com/htsp/htsq

This endpoint helps you to sign

Request Body

Name
Type
Description

desc

string

description if bool is "true"

cloud

boolean

save your signature on cloud

api_key

string

YOUR_API_KEY (you get it from create branch)

hash

string

YOUR_HASH

algorithm

string

["sha224","sha3224","sha256","sha3_256","sha384","sha3_384","sha512","sha3_512","whirlpool"]

Verify

GET https://api.3vidence.com/htsp/htsr

This endpoint helps you to verify a signature

Request Body

Name
Type
Description

kid

string

YOUR_KID (you get it from sign)

hjws

string

YOUR_HJWS (you get it from sign)

Upload HJWS

POST https://api.3vidence.com/htsp/hjws

Request Body

Name
Type
Description

api_key

string

YOUR_API_KEY

kid

string

YOUR_KID

hjws

string

YOUR_HJWS

Get a hjws

Read HWJS

GET https://api.3vidence.com/htsp/hjws/YOUR_ID_HJWS

Delete HJWS

DELETE https://api.3vidence.com//htsp/hjws

Request Body

Name
Type
Description

api_key

string

YOUR_API_KEY

id_hjws

string

YOUR_ID_HJWS

Get API key info

GET https://api.3vidence.com//htsp/info/apikey

Request Body

Name
Type
Description

api_key

string

YOUR_API_KEY

Get account info

GET https://api.3vidence.com//htsp/info

Headers

Name
Type
Description

authorization

string

YOUR_LOGIN_JWT

Delete your account

DELETE https://api.3vidence.com//htsp/account

Headers

Name
Type
Description

authorization

string

YOUR_LOGIN_JWT

Snippets

Check Snippets Health

GET https://api.3vidence.com/snippets/health

Check snippets status systems

Create a snippet

POST https://api.3vidence.com/snippets

Request Body

Name
Type
Description

algorithm

string

["sha224","sha3224","sha256","sha3_256","sha384","sha3_384","sha512","sha3_512","whirlpool"]

data

object

YOUR_JSON_DATA

api_key

string

YOUR_API_KEY

Get a snippet

GET https://api.3vidence.com//snippets/data/YOUR_ID_DATA

Get snippet raw

Get a raw snippet

GET https://api.3vidence.com//snippets/data/YOUR_ID_DATA/sign

Update a snippet

PUT https://api.3vidence.com//snippets

Request Body

Name
Type
Description

desc

string

YOUR_DESCRIPTION

algorithm

string

["sha224","sha3224","sha256","sha3_256","sha384","sha3_384","sha512","sha3_512","whirlpool"]

id_data

string

YOUR_ID_DATA

data

object

YOUR_JSON_DATA

api_key

string

YOUR_API_KEY

Delete a snippet

DELETE https://api.3vidence.com//snippets

Request Body

Name
Type
Description

id_data

string

YOUR_ID_DATA

api_key

string

YOUR_API_KEY

Get snippets info

GET https://api.3vidence.com/snippets/info

Request Body

Name
Type
Description

api_key

string

YOUR_API_KEY

Last updated

Was this helpful?