PureCipher Registration API
The Registration API from PureCipher — 3 operation(s) for registration.
The Registration API from PureCipher — 3 operation(s) for registration.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/purecipher-com:purecipher-com-registration-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Omniseal™ API Documentation Registration API
version: '2.0'
tags:
- name: Registration
paths:
/api/v1/register:
post:
tags:
- Registration
summary: Register a New User
description: Registers a user with the provided details, generates an OTP, and sends it to the user's email.
operationId: register_user_api_v1_register_post
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/RegistrationInfo'
examples:
Curl:
summary: Curl Example
value:
- curl -X POST "https://api.purecipher.com/register" \
- '-H "accept: application/json" \'
- '-H "Content-Type: application/json" \'
- '-d ''{"first_name": "John", "last_name": "Doe", "email": "john.doe@example.com", "password": "securepassword123"}'''
Python:
summary: Python Example
value:
- import requests
- response = requests.post("https://api.purecipher.com/register", json={
- ' "first_name": "John",'
- ' "last_name": "Doe",'
- ' "email": "john.doe@example.com",'
- ' "password": "securepassword123"'
- '})'
- print(response.json())
JavaScript (Node.js):
summary: JavaScript (Node.js)
value:
- const https = require('https');
- const data = JSON.stringify({
- ' first_name: "John",'
- ' last_name: "Doe",'
- ' email: "john.doe@example.com",'
- ' password: "securepassword123"'
- '});'
- ''
- const options = {
- ' hostname: ''api.purecipher.com'','
- ' port: 443,'
- ' path: ''/register'','
- ' method: ''POST'','
- ' headers: {'
- ' ''Content-Type'': ''application/json'','
- ' ''Content-Length'': data.length'
- ' }'
- '};'
- ''
- const req = https.request(options, (res) => {
- ' let data = '''';'
- ' res.on(''data'', (chunk) => { data += chunk; });'
- ' res.on(''end'', () => { console.log(JSON.parse(data)); });'
- '});'
- ''
- req.on('error', (e) => { console.error(e); });
- req.write(data);
- req.end();
Java:
summary: Java Example
value:
- import java.net.HttpURLConnection;
- import java.net.URL;
- import java.io.OutputStream;
- import java.io.BufferedReader;
- import java.io.InputStreamReader;
- ''
- public class RegisterUser {
- ' public static void main(String[] args) throws Exception {'
- ' URL url = new URL("https://api.purecipher.com/register");'
- ' HttpURLConnection conn = (HttpURLConnection) url.openConnection();'
- ' conn.setRequestMethod("POST");'
- ' conn.setRequestProperty("Content-Type", "application/json");'
- ''
- ' String jsonInputString = "{"first_name": "John", "last_name": "Doe", "email": "john.doe@example.com", "password": "securepassword123"}";'
- ''
- ' conn.setDoOutput(true);'
- ' try(OutputStream os = conn.getOutputStream()) {'
- ' byte[] input = jsonInputString.getBytes("utf-8");'
- ' os.write(input, 0, input.length);'
- ' }'
- ''
- ' BufferedReader br = new BufferedReader(new InputStreamReader(conn.getInputStream(), "utf-8"));'
- ' StringBuilder response = new StringBuilder();'
- ' String responseLine;'
- ' while ((responseLine = br.readLine()) != null) {'
- ' response.append(responseLine.trim());'
- ' }'
- ' System.out.println(response.toString());'
- ' }'
- '}'
Go:
summary: Go Example
value:
- package main;
- ''
- import (
- ' "bytes"'
- ' "encoding/json"'
- ' "fmt"'
- ' "net/http"'
- )
- ''
- func main() {
- ' url := "https://api.purecipher.com/register"'
- ' user := map[string]string{'
- ' "first_name": "John",'
- ' "last_name": "Doe",'
- ' "email": "john.doe@example.com",'
- ' "password": "securepassword123"'
- ' }'
- ' jsonValue, _ := json.Marshal(user)'
- ' resp, err := http.Post(url, "application/json", bytes.NewBuffer(jsonValue))'
- ' if err != nil {'
- ' panic(err)'
- ' }'
- ' defer resp.Body.Close()'
- ' var result map[string]interface{}'
- ' json.NewDecoder(resp.Body).Decode(&result)'
- ' fmt.Println(result)'
- '}'
.NET (C#):
summary: .NET (C#) Example
value:
- using System;
- using System.Net.Http;
- using System.Text;
- using System.Threading.Tasks;
- ''
- class Program {
- ' private static async Task Main() {'
- ' var client = new HttpClient();'
- ' var json = "{"first_name": "John", "last_name": "Doe", "email": "john.doe@example.com", "password": "securepassword123"}";'
- ' var content = new StringContent(json, Encoding.UTF8, "application/json");'
- ' var response = await client.PostAsync("https://api.purecipher.com/register", content);'
- ' var responseString = await response.Content.ReadAsStringAsync();'
- ' Console.WriteLine(responseString);'
- ' }'
- '}'
required: true
responses:
'200':
description: User registration initiated successfully.
content:
application/json:
schema:
$ref: '#/components/schemas/RegistrationResponseModel'
'409':
description: User with this email already exists.
content:
application/json:
schema:
properties:
detail:
type: string
type: object
example:
detail: A user already exists with this email
'500':
description: Internal server error.
content:
application/json:
schema:
properties:
detail:
type: string
type: object
example:
detail: An error occurred during registration
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/v1/verify-otp:
post:
tags:
- Registration
summary: Verify OTP and Register User
description: Verifies the provided OTP, completes the user registration, and returns the API token.
operationId: verify_otp_api_v1_verify_otp_post
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/xumw__app__routers__xregister__OTPVerification'
examples:
Curl:
summary: Curl Example
value:
- curl -X POST "https://api.purecipher.com/verify-otp" \
- '-H "accept: application/json" \'
- '-H "Content-Type: application/json" \'
- '-d ''{"email": "john.doe@example.com", "otp_value": "123456"}'''
Python:
summary: Python Example
value:
- import requests;
- response = requests.post("https://api.purecipher.com/verify-otp", json={
- ' "email": "john.doe@example.com",'
- ' "otp_value": "123456"'
- '});'
- print(response.json())
JavaScript (Node.js):
summary: JavaScript (Node.js)
value:
- const https = require('https');
- const data = JSON.stringify({
- ' email: "john.doe@example.com",'
- ' otp_value: "123456"'
- '});'
- ''
- const options = {
- ' hostname: ''api.purecipher.com'','
- ' port: 443,'
- ' path: ''/verify-otp'','
- ' method: ''POST'','
- ' headers: {'
- ' ''Content-Type'': ''application/json'','
- ' ''Content-Length'': data.length'
- ' }'
- '};'
- ''
- const req = https.request(options, (res) => {
- ' let data = '''';'
- ' res.on(''data'', (chunk) => { data += chunk; });'
- ' res.on(''end'', () => { console.log(JSON.parse(data)); });'
- '});'
- ''
- req.on('error', (e) => { console.error(e); });
- req.write(data);
- req.end();
Java:
summary: Java Example
value:
- import java.net.HttpURLConnection;
- import java.net.URL;
- import java.io.OutputStream;
- import java.io.BufferedReader;
- import java.io.InputStreamReader;
- ''
- public class VerifyOTP {
- ' public static void main(String[] args) throws Exception {'
- ' URL url = new URL("https://api.purecipher.com/verify-otp");'
- ' HttpURLConnection conn = (HttpURLConnection) url.openConnection();'
- ' conn.setRequestMethod("POST");'
- ' conn.setRequestProperty("Content-Type", "application/json");'
- ''
- ' String jsonInputString = "{"email": "john.doe@example.com", "otp_value": "123456"}";'
- ''
- ' conn.setDoOutput(true);'
- ' try(OutputStream os = conn.getOutputStream()) {'
- ' byte[] input = jsonInputString.getBytes("utf-8");'
- ' os.write(input, 0, input.length);'
- ' }'
- ''
- ' BufferedReader br = new BufferedReader(new InputStreamReader(conn.getInputStream(), "utf-8"));'
- ' StringBuilder response = new StringBuilder();'
- ' String responseLine;'
- ' while ((responseLine = br.readLine()) != null) {'
- ' response.append(responseLine.trim());'
- ' }'
- ' System.out.println(response.toString());'
- ' }'
- '}'
Go:
summary: Go Example
value:
- package main;
- ''
- import (
- ' "bytes"'
- ' "encoding/json"'
- ' "fmt"'
- ' "net/http"'
- )
- ''
- func main() {
- ' url := "https://api.purecipher.com/verify-otp";'
- ' otpData := map[string]string{"email": "john.doe@example.com", "otp_value": "123456"};'
- ' jsonValue, _ := json.Marshal(otpData);'
- ' resp, err := http.Post(url, "application/json", bytes.NewBuffer(jsonValue));'
- ' if err != nil {'
- ' panic(err);'
- ' }'
- ' defer resp.Body.Close();'
- ' var result map[string]interface{};'
- ' json.NewDecoder(resp.Body).Decode(&result);'
- ' fmt.Println(result);'
- '}'
.NET (C#):
summary: .NET (C#) Example
value:
- using System;
- using System.Net.Http;
- using System.Text;
- using System.Threading.Tasks;
- ''
- class Program {
- ' private static async Task Main() {'
- ' var client = new HttpClient();'
- ' var json = "{"email": "john.doe@example.com", "otp_value": "123456"}";'
- ' var content = new StringContent(json, Encoding.UTF8, "application/json");'
- ' var response = await client.PostAsync("https://api.purecipher.com/verify-otp", content);'
- ' var responseString = await response.Content.ReadAsStringAsync();'
- ' Console.WriteLine(responseString);'
- ' }'
- '}'
required: true
responses:
'200':
description: OTP verified and user registered successfully.
content:
application/json:
schema:
$ref: '#/components/schemas/OTPVerificationResponseModel'
'400':
description: Invalid or expired OTP.
content:
application/json:
schema:
properties:
detail:
type: string
type: object
example:
detail: Invalid or expired OTP.
'500':
description: Internal server error.
content:
application/json:
schema:
properties:
detail:
type: string
type: object
example:
detail: An error occurred during OTP verification
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/v1/resend-otp:
post:
tags:
- Registration
summary: Resend OTP
description: Resends the OTP to the user's email.
operationId: resend_otp_api_v1_resend_otp_post
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/xumw__app__routers__xregister__ResendOTP'
examples:
Curl:
summary: Curl Example
value:
- curl -X POST "https://api.purecipher.com/resend-otp" \
- '-H "accept: application/json" \'
- '-H "Content-Type: application/json" \'
- '-d ''{"email": "john.doe@example.com"}'''
Python:
summary: Python Example
value:
- import requests;
- response = requests.post("https://api.purecipher.com/resend-otp", json={
- ' "email": "john.doe@example.com"'
- '});'
- print(response.json())
JavaScript (Node.js):
summary: JavaScript (Node.js)
value:
- const https = require('https');
- const data = JSON.stringify({
- ' email: "john.doe@example.com"'
- '});'
- ''
- const options = {
- ' hostname: ''api.purecipher.com'','
- ' port: 443,'
- ' path: ''/resend-otp'','
- ' method: ''POST'','
- ' headers: {'
- ' ''Content-Type'': ''application/json'','
- ' ''Content-Length'': data.length'
- ' }'
- '};'
- ''
- const req = https.request(options, (res) => {
- ' let data = '''';'
- ' res.on(''data'', (chunk) => { data += chunk; });'
- ' res.on(''end'', () => { console.log(JSON.parse(data)); });'
- '});'
- ''
- req.on('error', (e) => { console.error(e); });
- req.write(data);
- req.end();
Java:
summary: Java Example
value:
- import java.net.HttpURLConnection;
- import java.net.URL;
- import java.io.OutputStream;
- import java.io.BufferedReader;
- import java.io.InputStreamReader;
- ''
- public class ResendOTP {
- ' public static void main(String[] args) throws Exception {'
- ' URL url = new URL("https://api.purecipher.com/resend-otp");'
- ' HttpURLConnection conn = (HttpURLConnection) url.openConnection();'
- ' conn.setRequestMethod("POST");'
- ' conn.setRequestProperty("Content-Type", "application/json");'
- ''
- ' String jsonInputString = "{"email": "john.doe@example.com"}";'
- ''
- ' conn.setDoOutput(true);'
- ' try(OutputStream os = conn.getOutputStream()) {'
- ' byte[] input = jsonInputString.getBytes("utf-8");'
- ' os.write(input, 0, input.length);'
- ' }'
- ''
- ' BufferedReader br = new BufferedReader(new InputStreamReader(conn.getInputStream(), "utf-8"));'
- ' StringBuilder response = new StringBuilder();'
- ' String responseLine;'
- ' while ((responseLine = br.readLine()) != null) {'
- ' response.append(responseLine.trim());'
- ' }'
- ' System.out.println(response.toString());'
- ' }'
- '}'
Go:
summary: Go Example
value:
- package main;
- ''
- import (
- ' "bytes"'
- ' "encoding/json"'
- ' "fmt"'
- ' "net/http"'
- )
- ''
- func main() {
- ' url := "https://api.purecipher.com/resend-otp";'
- ' otpData := map[string]string{"email": "john.doe@example.com"};'
- ' jsonValue, _ := json.Marshal(otpData);'
- ' resp, err := http.Post(url, "application/json", bytes.NewBuffer(jsonValue));'
- ' if err != nil {'
- ' panic(err);'
- ' }'
- ' defer resp.Body.Close();'
- ' var result map[string]interface{};'
- ' json.NewDecoder(resp.Body).Decode(&result);'
- ' fmt.Println(result);'
- '}'
.NET (C#):
summary: .NET (C#) Example
value:
- using System;
- using System.Net.Http;
- using System.Text;
- using System.Threading.Tasks;
- ''
- class Program {
- ' private static async Task Main() {'
- ' var client = new HttpClient();'
- ' var json = "{"email": "john.doe@example.com"}";'
- ' var content = new StringContent(json, Encoding.UTF8, "application/json");'
- ' var response = await client.PostAsync("https://api.purecipher.com/resend-otp", content);'
- ' var responseString = await response.Content.ReadAsStringAsync();'
- ' Console.WriteLine(responseString);'
- ' }'
- '}'
required: true
responses:
'200':
description: OTP resent successfully.
content:
application/json:
schema:
$ref: '#/components/schemas/ResendOTPResponseModel'
'400':
description: User not found for the provided email.
content:
application/json:
schema:
properties:
detail:
type: string
type: object
example:
detail: User not found
'500':
description: Internal server error.
content:
application/json:
schema:
properties:
detail:
type: string
type: object
example:
detail: An error occurred during OTP resend
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
components:
schemas:
ValidationError:
properties:
loc:
items:
anyOf:
- type: string
- type: integer
type: array
title: Location
msg:
type: string
title: Message
type:
type: string
title: Error Type
type: object
required:
- loc
- msg
- type
title: ValidationError
xumw__app__routers__xregister__ResendOTP:
properties:
email:
type: string
title: Email
description: Email address to which the OTP should be resent
type: object
required:
- email
title: ResendOTP
HTTPValidationError:
properties:
detail:
items:
$ref: '#/components/schemas/ValidationError'
type: array
title: Detail
type: object
title: HTTPValidationError
OTPVerificationResponseModel:
properties:
message:
type: string
title: Message
api_key:
type: string
title: Api Key
role:
type: string
title: Role
type: object
required:
- message
- api_key
- role
title: OTPVerificationResponseModel
xumw__app__routers__xregister__OTPVerification:
properties:
email:
type: string
title: Email
description: Email address associated with the OTP
otp_value:
type: string
title: Otp Value
description: The OTP value to be verified
type: object
required:
- email
- otp_value
title: OTPVerification
ResendOTPResponseModel:
properties:
message:
type: string
title: Message
type: object
required:
- message
title: ResendOTPResponseModel
RegistrationResponseModel:
properties:
message:
type: string
title: Message
type: object
required:
- message
title: RegistrationResponseModel
RegistrationInfo:
properties:
first_name:
type: string
title: First Name
description: First name of the user
last_name:
type: string
title: Last Name
description: Last name of the user
email:
type: string
title: Email
description: Email address of the user
password:
type: string
title: Password
description: Password for the user's account
type: object
required:
- first_name
- last_name
- email
- password
title: RegistrationInfo
securitySchemes:
APIKeyHeader:
type: apiKey
in: header
name: api_token
x-tagGroups:
- name: General
tags:
- Registration
- Health and Readiness
- name: Release 3
tags:
- Audio
- Video
- name: Release 2
tags:
- Unified API
- Edix12
- Data Lineage
- Data Provenance
- Base64
- name: Release 1
tags:
- Signature
- Encryption
- Hash
- Steganography