objects
GET
https://hermeticor.com /v1/data-sources Parameters
limitintegerqueryPage size; omitted returns the whole list
cursorstringqueryOpaque: the
nextCursor of the previous pageCode samples
cURL
curl -X GET "https://hermeticor.com/v1/data-sources" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"items": [
{
"id": "string",
"name": "string",
"typeId": "string",
"status": "active",
"recordsIngested": 0,
"createdAt": "2024-01-01T00:00:00Z"
}
],
"nextCursor": "string"
}Schema
itemsPostV1DataSourcesResponse[]requiredShow child parameters
idstringrequirednamestringrequiredtypeIdstringrequiredstatusstringrequiredrecordsIngestedintegerrequiredcreatedAtstringrequirednextCursorstringrequired4XX Default Response
Example
{
"error": {
"code": "string",
"message": "string",
"details": {}
}
}Schema
errorobjectrequiredShow child parameters
codestringrequiredmessagestringrequireddetailsobjectPOST
https://hermeticor.com /v1/data-sources Request body
application/json
namestringrequiredtypeKeystringrequired{
"name": "string",
"typeKey": "string"
}Code samples
cURL
curl -X POST "https://hermeticor.com/v1/data-sources" \
-H "Authorization: Bearer $HERMETICOR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"name":"string","typeKey":"string"}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
201 Default Response
Example
{
"id": "string",
"name": "string",
"typeId": "string",
"status": "active",
"recordsIngested": 0,
"createdAt": "2024-01-01T00:00:00Z"
}Schema
idstringrequirednamestringrequiredtypeIdstringrequiredstatusstringrequiredrecordsIngestedintegerrequiredcreatedAtstringrequiredGET
https://hermeticor.com /v1/data-sources/{id} Parameters
idstringpathrequiredCode samples
cURL
curl -X GET "https://hermeticor.com/v1/data-sources/{id}" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
DELETE
https://hermeticor.com /v1/data-sources/{id} Parameters
idstringpathrequiredCode samples
cURL
curl -X DELETE "https://hermeticor.com/v1/data-sources/{id}" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"ok": true
}Schema
okbooleanrequiredPATCH
https://hermeticor.com /v1/data-sources/{id} Parameters
idstringpathrequiredRequest body
application/json
namestringstatusstring{
"name": "string",
"status": "active"
}Code samples
cURL
curl -X PATCH "https://hermeticor.com/v1/data-sources/{id}" \
-H "Authorization: Bearer $HERMETICOR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"name":"string","status":"active"}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
GET
https://hermeticor.com /v1/data-sources/{id}/mapping Parameters
idstringpathrequiredCode samples
cURL
curl -X GET "https://hermeticor.com/v1/data-sources/{id}/mapping" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"mapping": {
"id": "string",
"dataSourceId": "string",
"externalIdField": "string",
"nameField": "string",
"fields": {}
}
}Schema
mappingobjectrequiredShow child parameters
idstringrequireddataSourceIdstringrequiredexternalIdFieldstringrequirednameFieldstringrequiredfieldsobjectrequiredPUT
https://hermeticor.com /v1/data-sources/{id}/mapping Parameters
idstringpathrequiredRequest body
application/json
externalIdFieldstringrequirednameFieldstringfieldsobject{
"externalIdField": "string",
"nameField": "string",
"fields": {}
}Code samples
cURL
curl -X PUT "https://hermeticor.com/v1/data-sources/{id}/mapping" \
-H "Authorization: Bearer $HERMETICOR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"externalIdField":"string","nameField":"string","fields":{}}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"id": "string",
"dataSourceId": "string",
"externalIdField": "string",
"nameField": "string",
"fields": {}
}Schema
idstringrequireddataSourceIdstringrequiredexternalIdFieldstringrequirednameFieldstringrequiredfieldsobjectrequiredGET
https://hermeticor.com /v1/source-mappings/{id} Parameters
idstringpathrequiredCode samples
cURL
curl -X GET "https://hermeticor.com/v1/source-mappings/{id}" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
POST
https://hermeticor.com /v1/data-sources/{id}/records Send up to 500 source records; the mapping turns them into object upserts by external id
Parameters
idstringpathrequiredRequest body
application/json
recordsobject[]required{
"records": [
{}
]
}Code samples
cURL
curl -X POST "https://hermeticor.com/v1/data-sources/{id}/records" \
-H "Authorization: Bearer $HERMETICOR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"records":[{}]}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"created": 0,
"updated": 0,
"deleted": 0,
"failed": [
{
"index": 0,
"externalId": "string",
"reason": "string"
}
]
}Schema
createdintegerrequiredupdatedintegerrequireddeletedintegerrequiredfailedErrorsItem4[]requiredShow child parameters
indexintegerrequiredexternalIdstringrequiredreasonstringrequiredGET
https://hermeticor.com /v1/profiles/{id}/objects Parameters
limitintegerqueryPage size; omitted returns the whole list
cursorstringqueryOpaque: the
nextCursor of the previous pageidstringpathrequiredCode samples
cURL
curl -X GET "https://hermeticor.com/v1/profiles/{id}/objects" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"items": [
{
"type": "string",
"id": "string",
"externalId": "string",
"name": "string",
"role": "string"
}
],
"nextCursor": "string"
}Schema
itemsobject[]requiredShow child parameters
typestringrequiredidstringrequiredexternalIdstringrequirednamestringrequiredrolestringrequirednextCursorstringrequiredUpdated