Crego APIs
APIs DocHome Page
Web Apps
  • Jupiter
  • Venus
APIs DocHome Page
Web Apps
  • Jupiter
  • Venus
  1. Contact
  • Omni
  • Contact APIs
  • NameSpace
    • Create
      POST
    • Update
      PATCH
    • List
      GET
    • Delete
      DELETE
  • Address
    • Create
      POST
    • Update
      PATCH
    • List
      GET
    • Retrieve
      GET
    • Delete
      DELETE
  • Bank
    • Create
      POST
    • Update
      PATCH
    • List
      GET
    • Retrieve
      GET
    • Delete
      DELETE
  • Props
    • Update Props
      PUT
    • Get Props
      GET
    • Delete Props
      DELETE
  • Relation
    • Create
    • Update
    • List
    • Retrieve
    • Delete
  • Contact
    • Create
      POST
    • Update
      PATCH
    • List
      GET
    • Retrieve
      GET
    • Dedupe
      POST
    • Active
      PUT
    • Inactive
      PUT
    • Reject
      PUT
    • Approve
      PUT
  1. Contact

Create

Developing
preprod
https://preprod.api.crego.io
preprod
https://preprod.api.crego.io
POST
/contacts/
Last modified:2025-05-25 13:05:30

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Body Params application/json

Example
{
    "name": "Sukumar",
    "ref_id":"jijkdmkdoedmsaad",
    "status": "active",
    "type": "individual",
    "tags": [
        "string"
    ],
    "refs": {},
    "branch_id": "",
    "namespace":"Vayana",
    "props": [
        {
            "key": "pan_no",
            "type": "number",
            "value":"123254684"
        }
    ]
    
}

Request Code 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/contacts/' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
    "name": "Sukumar",
    "ref_id":"jijkdmkdoedmsaad",
    "status": "active",
    "type": "individual",
    "tags": [
        "string"
    ],
    "refs": {},
    "branch_id": "",
    "namespace":"Vayana",
    "props": [
        {
            "key": "pan_no",
            "type": "number",
            "value":"123254684"
        }
    ]
    
}'

Responses

🟢201Created
application/json
Body

Examples
{"id":"01JK7V37V8RY5NX22AF4QYSBB3","tenant_id":"59ecf94e-054d-43ee-83db-b158ab9d7f67","created_by":"cffe818a-5003-4116-9104-069f7e062bb4","updated_by":"","created_at":"2025-02-04T12:11:52.033074Z","updated_at":"2025-02-04T12:11:52.033196Z","name":"Kaushick","status":"active","type":"individual","tags":["string"],"refs":{},"branch":null}
🟢201Created
Modified at 2025-05-25 13:05:30
Previous
Delete
Next
Update
Built with