API Reference
POSTsignup

Register (Signup)

Register (Signup) is a POST request to https://api.sharkcluster.com/signup in the Authentication section of the SharkCluster API. Creates a new user account on the SharkCluster platform. It takes 4 parameters, 4 required (name, email, password and role).

Request URL

POSThttps://api.sharkcluster.com/signup

How do you call Register (Signup)?

  1. 1Send a POST request to https://api.sharkcluster.com/signup.
  2. 2Include the required parameters: name, email, password and role.

Request parameters

ParameterTypeDescription
name
Required
stringFull name of the user.
email
Required
stringUser's email address.
password
Required
stringAccount password.
role
Required
stringUser role (e.g., 'user').

What does Register (Signup) return?

A successful call returns a JSON object with the fields result, message and data. Check that result is true in the body: like many SharkCluster endpoints, a failure can come back with HTTP 200 and result: false. A failed call explains the problem in the body, for example "User already exist".

Request sample

const axios = require('axios');

const data = {
  name: "John Doe",
  email: "[email protected]",
  password: "YOUR_PASSWORD",
  role: "user"
};

axios.post('https://api.sharkcluster.com/signup', data)
  .then(res => console.log(res.data))
  .catch(err => console.error(err));

Response

{
    "result": true,
    "message": "Registration successful! Welcome to Shark Cluster.",
    "data": [
        {
            "user": {
                "id": "00000000-0000-4000-8000-000000000001",
                "twoFaEnabled": false,
                "commissionRate": 0,
                "totalEarnings": 0,
                "chatConnectionStatus": false,
                "pendingEarnings": 0,
                "referrals": 0,
                "clicks": 0,
                "conversions": 0,
                "paymentHistory": [],
                "supportCategories": [],
                "assignedTickets": [],
                "openTickets": 0,
                "in_progressTickets": 0,
                "resolvedTickets": 0,
                "closedTickets": 0,
                "reopenedTickets": 0,
                "account_suspended": false,
                "billing_details_added": false,
                "card_verified": false,
                "card_verification_details": {},
                "name": "John Doe",
                "email": "[email protected]",
                "password": "<redacted>",
                "role": "user",
                "status": "active",
                "affilateId": "21168",
                "email_verification": true,
                "updatedAt": "2026-05-05T06:25:22.830Z",
                "createdAt": "2026-05-05T06:25:22.830Z",
                "mobile": null,
                "profile_img": null,
                "twoFaSecret": null,
                "provider": null,
                "provider_id": null,
                "referredBy": null,
                "interestedCategories": null,
                "currentRecipient": null,
                "products": null,
                "accountInfo": null,
                "affiliateLink": null,
                "confirm_token": null,
                "credit_balance": null,
                "credit_expiry_date": null,
                "razorpay_customer_id": null,
                "card_verified_at": null,
                "card_verification_payment_id": null,
                "_id": "00000000-0000-4000-8000-000000000001"
            },
            "refreshToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjAwMDAwMDAwLTAwMDAtNDAwMC04MDAwLTAwMDAwMDAwMDAwMSJ9.example-signature"
        }
    ]
}

Related Authentication endpoints

Stuck on an integration?

Raise a ticket from the panel with the endpoint and the response you got back — it reaches an engineer with your server already attached.

Contact us