Introduction

Welcome to the Authentication API documentation.

Our Authentication API is designed to provide a secure and easy way to authenticate and authorize users for your application. With our API, you can easily implement features such as sign up, login, password reset, email verification, third-party providers such as Google and Facebook and much more.

In this documentation, you will find a comprehensive guide on how to use our API, including examples and best practices. We have also included a customization checklist to help you tailor the API to your specific needs.

Getting Started

To get started, you can follow these simple steps:

  1. Create an Application: Create an application in our system by providing a name. This will give you an application_id and secret which you will use in all API calls.
  2. Integrate API: Integrate our API into your application. Use the application_id and secret to authenticate API calls and implement the API endpoints in your application.
  3. Customize Settings: Customize settings such as email verification, password policy, and more by updating the settings in your application.
  4. Test and Deploy: Test the API integration in your development environment, and then deploy to production.

Select from the following guides to learn more about how to use our API and customize it to best suit your needs:

Quickstart

In this guide, we'll show you how to register a user with email and login with email using our API.

Register

  // Register a user with email
  const data = {
    email: '[email protected]',
    password: 'password'
  }
  const response = await fetch('https://api.authc1.com/register', {
    method: 'POST',
    headers: {
      'X-Authc1-Id': '0x51a4757c8a7e4ddb9af558410a91b898'
    },
    body: JSON.stringify(data)
  })
  const json = await response.json()
  console.log(json)

Login

  const data = {
    email: '[email protected]',
    password: 'password'
  };

  const response = await fetch('https://authc1.com/api/v1/login/email', {
    method: 'POST',
    headers: {
      'X-Authc1-Id': '0x51a4757c8a7e4ddb9af558410a91b898'
    },
    body: JSON.stringify(data)
  })
  const json = await response.json()
  console.log(json)

Guides

API Reference

Learn about the various endpoints available in our API.

Learn more

Implementation Guide

Learn how to implement our API in your application.

Learn more

Webhooks

This endpoint is used to receive notifications about events that occur in the Authc1 app. Use this to receive fast, automated callbacks.

Learn more

Features

Email and Password Authentication

AuthC1 supports traditional email and password authentication out of the box. Users can register for an account using their email and password, and then use those credentials to log in. Our API also supports password reset and email verification.

Social Authentication

In addition to email and password, AuthC1 also supports social authentication via providers such as Google, Facebook, Twitter, and Apple. This allows users to register and login using their existing social media accounts.

Phone Number Authentication

AuthC1 also supports phone number authentication, where users can register and login using their phone number and a verification code sent via SMS. This is a convenient and secure option for users who may not have access to email or social media accounts.

SDKs and Plugins

We have SDKs and plugins available for the most popular programming languages and frameworks. This makes integrating AuthC1 into your application quick and easy. We also have a variety of plugins available for popular web frameworks like QwikJs, React, Angular, and Vue.