Crego APIs
APIs DocHome Page
Web Apps
  • Jupiter
  • Venus
APIs DocHome Page
Web Apps
  • Jupiter
  • Venus
  1. APIs Doc
  • Back to home
  • CRM
  • Lead
    • Get Borrower Line Details
      GET
    • Fetch service accounts
      GET
    • Send to a service
      POST
    • Create Lead
      POST
    • Lead List
      GET
    • Get Lead
      GET
    • Delete Lead
      DELETE
    • download_excel
      PUT
  • Applicant
    • Create Applicant
      POST
    • Get Applicant
      GET
    • Update Applicant
      PATCH
    • Delete Applicant
      DELETE
    • Mark as Primary
      PUT
  • Bank
    • Add Bank
      POST
    • Get Bank
      GET
    • Update Bank
      PATCH
    • Delete Bank
      DELETE
    • Verify Bank
      GET
    • Get Banks by Applicant Id
      GET
    • Get IFSC Details
      GET
  • Document
    • Add Document
      POST
    • Get Document
      GET
    • Delete Document
      DELETE
    • Update Document
      PATCH
    • Get Documents by Related Model Id
      GET
  • Address
    • Add Address
    • Get Address
    • Update Address
    • Delete Address
    • Get Address by Applicant Id
    • Get City & State by Pincode
  • Get Borrower Token
    POST
  • Health Check
    GET
  1. APIs Doc

Get Borrower Token

preprod
https://preprod.api.crego.io
preprod
https://preprod.api.crego.io
POST
/v1/identity/auth/borrower/token/
Last modified:2025-02-10 05:28:26

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Body Params application/json
object {0}
Example
{
    "lead_id": "e1e6cfa6-71d3-4ecf-bf08-ffd585388dda",
    "program_id": "53f2a98f-9a8e-42ed-9a77-2c1cc1a519e2"
}

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/identity/auth/borrower/token/' \
--header 'Content-Type: application/json' \
--data-raw '{
    "lead_id": "e1e6cfa6-71d3-4ecf-bf08-ffd585388dda",
    "program_id": "53f2a98f-9a8e-42ed-9a77-2c1cc1a519e2"
}'

Responses

🟢200Success
application/json
Body
object {0}
Example
{}
Previous
Get City & State by Pincode
Next
Health Check
Built with