curl --request POST \
--url https://app.superleap.com/api/v1/org/objects/{object_slug}/record/bulk_upsert \
--header 'Authorization: <authorization>' \
--header 'Content-Type: <content-type>'curl --request POST \
--url https://app.superleap.com/api/v1/org/objects/{object_slug}/record/bulk_upsert \
--header 'Authorization: <authorization>' \
--header 'Content-Type: <content-type>'curl --location 'https://app.superleap.dev/api/v1/org/objects/lead/record/bulk_upsert' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer OGEWZMJJMTGTNZEYZS0ZYTG3LTLKMMETY2I3MDDJNJKXMMM4' \
--data-raw '{
"values": [
{
"name": "testAdmin",
"email": "[email protected]"
},
{
"id": "g1koYv_2lLKYVan",
"name": "testSteve"
}
]
}'
curl --location 'https://app.superleap.dev/api/v1/org/objects/lead/record/bulk_upsert' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer OGEWZMJJMTGTNZEYZS0ZYTG3LTLKMMETY2I3MDDJNJKXMMM4' \
--data-raw '{
"values": [
{
"name": "testAdmin",
"email": "[email protected]"
},
{
"id": "g1koYv_2lLKYVan",
"name": "testSteve"
}
]
}'
{
"success": true,
"data": {
"records_created": 1,
"records_updated": 1,
"failed_records": null,
"created_records": [
{
"action": "CREATED",
"created_at": 1753948409620,
"created_by": "g1koYv_BkJ851eS",
"email": "[email protected]",
"id": "g1koYv_NmlNtQT1",
"multiselect_1": [
"op3"
],
"name": "testAdmin",
"object_id": "g1koYv_EAobj2SH",
"org_id": "g1koYv",
"owner": "g1koYv_BkJ851eS",
"search_field": "testAdmin",
"system_created_at": 1753948409624,
"updated_at": 1753948409620,
"updated_by": "g1koYv_BkJ851eS"
}
],
"updated_records": [
{
"action": "UPDATED",
"id": "g1koYv_2lLKYVan",
"name": "testSteve",
"object_id": "g1koYv_EAobj2SH",
"org_id": "g1koYv",
"search_field": "testSteve",
"updated_at": 1753948409668,
"updated_by": "g1koYv_BkJ851eS"
}
],
"records": [
{
"action": "CREATED",
"created_at": 1753948409620,
"created_by": "g1koYv_BkJ851eS",
"email": "[email protected]",
"id": "g1koYv_NmlNtQT1",
"multiselect_1": [
"op3"
],
"name": "testAdmin",
"object_id": "g1koYv_EAobj2SH",
"org_id": "g1koYv",
"owner": "g1koYv_BkJ851eS",
"search_field": "testAdmin",
"system_created_at": 1753948409624,
"updated_at": 1753948409620,
"updated_by": "g1koYv_BkJ851eS"
},
{
"action": "UPDATED",
"id": "g1koYv_2lLKYVan",
"name": "testSteve",
"object_id": "g1koYv_EAobj2SH",
"org_id": "g1koYv",
"search_field": "testSteve",
"updated_at": 1753948409668,
"updated_by": "g1koYv_BkJ851eS"
}
]
}
}
curl --location 'https://app.superleap.dev/api/v1/org/objects/lead/record/bulk_upsert' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer OGEWZMJJMTGTNZEYZS0ZYTG3LTLKMMETY2I3MDDJNJKXMMM4' \
--data-raw '{
"values": [
{
"name": "testssse",
"email": "[email protected]"
},
{
"id": "OAASbQ_Ph9vneRS",
"name": "testsssdfsdfse"
}
]
}'
{
"success": true,
"data": {
"records_created": 1,
"records_updated": 0,
"failed_records": [
{
"action": "FAILED",
"error_message": "invalid id detected : OAASbQ_Ph9vneRS",
"id": "OAASbQ_Ph9vneRS",
"name": "testsssdfsdfse"
}
],
"created_records": [
{
"action": "CREATED",
"created_at": 1753948287965,
"created_by": "g1koYv_BkJ851eS",
"email": "[email protected]",
"id": "g1koYv_y3msyauq",
"multiselect_1": [
"op3"
],
"name": "testssse",
"object_id": "g1koYv_EAobj2SH",
"org_id": "g1koYv",
"owner": "g1koYv_BkJ851eS",
"search_field": "testssse",
"system_created_at": 1753948287970,
"updated_at": 1753948287965,
"updated_by": "g1koYv_BkJ851eS"
}
],
"updated_records": null,
"records": [
{
"action": "CREATED",
"created_at": 1753948287965,
"created_by": "g1koYv_BkJ851eS",
"email": "[email protected]",
"id": "g1koYv_y3msyauq",
"multiselect_1": [
"op3"
],
"name": "testssse",
"object_id": "g1koYv_EAobj2SH",
"org_id": "g1koYv",
"owner": "g1koYv_BkJ851eS",
"search_field": "testssse",
"system_created_at": 1753948287970,
"updated_at": 1753948287965,
"updated_by": "g1koYv_BkJ851eS"
},
{
"action": "FAILED",
"error_message": "invalid id detected : OAASbQ_Ph9vneRS",
"id": "OAASbQ_Ph9vneRS",
"name": "testsssdfsdfse"
}
]
}
}