Crego APIs
APIs DocHome Page
Web Apps
  • Jupiter
  • Venus
APIs DocHome Page
Web Apps
  • Jupiter
  • Venus
  1. Accounts
  • Back to home
  • LOS
  • Approval
    • List
      GET
    • Create
      POST
    • Get
      GET
    • Approve
      PUT
    • Bulk Approve
      PUT
  • Custom Fields
    • List Custom Fields
      GET
    • Create Custom Fields
      POST
  • Assessments
    • List
      GET
    • Submit
      PUT
  • Agreement
    • Generate
      POST
    • List
      GET
    • Upload
      POST
  • Stamp
    • Generate
      POST
    • Upload
      POST
    • Get Status
      GET
  • Sign
    • Initiate Esign
      POST
    • Refresh
      GET
  • Document
    • List
    • Detail
    • Update
    • Delete
  • Accounts
    • Reopen Account
      PUT
    • List
      GET
    • Create
      POST
    • Drop
      PUT
    • Approve
      PUT
    • Detail
      GET
    • Initiate
      PUT
    • Activate
      PUT
  • Signing
    • Initiate
    • Service Callback
    • Upload
    • List
  • Insurances
    • Create
  • Fee
    • Create
  • Mandate
    • Create
    • Get Details
  1. Accounts

Create

preprod
https://preprod.api.crego.io
preprod
https://preprod.api.crego.io
POST
/v1/los/accounts/
Last modified:2025-02-21 06:52:30

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Header Params
Authorization
string 
optional
Example:
Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNjc1ODM3NTA0LCJpYXQiOjE2NzU3NTExMDQsImp0aSI6IjlhNTBlOTcwM2JmOTRmYjBhNmZmYjRmMmE2NGJmN2E5IiwidXNlcl9pZCI6IjBmOThmYWQ5LWViMzktNGE3OC1iN2ViLWYxNmI2ODI2ZDVjMiIsImNvbXBhbnlfaWQiOiJOb25lIn0.TFKjvlGbLUbQkAaJoyOrusNUuOrmilgehT4ih92Ob1O5BdoOJHuGIA-wgIXzg_JqbqKMuH-vU1_jvZknpZYAY8RDQmdGwAy7mPWahuWSJ40ZK3g05wwMi-oqdnHNBYKwCbqbJRLeV8Twt-7WiFnremVjzKMY-OpP310xGeHLiA8
Body Params application/json
crm_lead_id
string 
required
ref_id
string 
required
program_id
string 
required
Example
{
    "crm_lead_id": "df03f224-6089-4d08-baca-8f1c8868a8ad",
    "ref_id": "CL00044A",
    "program_id": "15676342-6603-4637-a83f-77feda9523e9"
}

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://preprod.api.crego.io/v1/los/accounts/' \
--header 'Content-Type: application/json' \
--data-raw '{
    "crm_lead_id": "df03f224-6089-4d08-baca-8f1c8868a8ad",
    "ref_id": "CL00044A",
    "program_id": "15676342-6603-4637-a83f-77feda9523e9"
}'

Responses

🟢201Create
application/json
Body
id
string 
required
created_at
number 
required
updated_at
number 
required
crm_lead_id
string 
required
program_id
string 
required
ref_id
string 
required
product_type
string 
required
tags
array
required
status
string 
required
drop_reason
null 
required
Example
{
    "id": "91949ecb-4665-4d6d-a1ab-c5c2a63b418a",
    "created_at": 1721387621.6985629,
    "updated_at": 1721387621.8813922,
    "crm_lead_id": "df03f224-6089-4d08-baca-8f1c8868a8ad",
    "program_id": "6788f287-c670-46b9-8ec9-48cc351ab2bc",
    "ref_id": "CL00042A",
    "product_type": "scf",
    "tags": [],
    "status": "activation",
    "drop_reason": null
}
Previous
List
Next
Drop
Built with