Register User
Register a user uniquely identified by phone number and email. This is used for seamless login and redirection into Jodo-hosted flows.
Endpoint
Section titled “Endpoint”POST /api/v1/integrations/erp/users/registerRequest
Section titled “Request”curl -X POST 'https://[base_url]/api/v1/integrations/erp/users/register' \ --header 'Authorization: Basic <token>' \ --header 'Content-Type: application/json' \ --data-raw '{ "name": "John Doe", "phone": "9876543210", "email": "john.doe@example.com" }'Request Body
Section titled “Request Body”| Field | Type | Required | Description |
|---|---|---|---|
name | string | Yes | Full name of the user. |
phone | string | Yes | 10-digit phone number. |
email | string | Yes | Email address. |
Response
Section titled “Response”{ "status": "success", "data": { "registration_id": "user_1234" }}Response Data
Section titled “Response Data”| Field | Type | Description |
|---|---|---|
data.registration_id | string | Unique registration ID generated for the user. |