curl --request GET \
--url https://api.chift.eu/syncs \
--header 'Authorization: Bearer <token>'
[
{
"name": "<string>",
"connections": [
{
"one_api": 123,
"connection_type": 123,
"display_order": 0,
"display_hidden": false
}
],
"mappings": [],
"syncid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"consumers": [
"<string>"
],
"flows": [
{
"name": "<string>",
"description": "<string>",
"id": "<string>",
"execution": {
"type": "code",
"data": {
"name": "<string>"
}
},
"config": {
"definitionFields": [
{}
],
"doorkeyFields": [
{}
],
"customFields": [
{}
],
"datastores": [
{
"id": "<string>",
"name": "<string>",
"status": "active",
"definition": {
"columns": [
{
"name": "<string>",
"title": "<string>",
"type": "<string>",
"optional": true
}
],
"search_column": "<string>"
}
}
]
},
"triggers": [
{
"id": "<string>",
"type": "timer",
"cronschedules": [
"<string>"
],
"visible": true,
"definitionFields": [
{}
],
"options": {}
}
]
}
]
}
]
Returns the syncs
curl --request GET \
--url https://api.chift.eu/syncs \
--header 'Authorization: Bearer <token>'
[
{
"name": "<string>",
"connections": [
{
"one_api": 123,
"connection_type": 123,
"display_order": 0,
"display_hidden": false
}
],
"mappings": [],
"syncid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"consumers": [
"<string>"
],
"flows": [
{
"name": "<string>",
"description": "<string>",
"id": "<string>",
"execution": {
"type": "code",
"data": {
"name": "<string>"
}
},
"config": {
"definitionFields": [
{}
],
"doorkeyFields": [
{}
],
"customFields": [
{}
],
"datastores": [
{
"id": "<string>",
"name": "<string>",
"status": "active",
"definition": {
"columns": [
{
"name": "<string>",
"title": "<string>",
"type": "<string>",
"optional": true
}
],
"search_column": "<string>"
}
}
]
},
"triggers": [
{
"id": "<string>",
"type": "timer",
"cronschedules": [
"<string>"
],
"visible": true,
"definitionFields": [
{}
],
"options": {}
}
]
}
]
}
]
This access token needs to be included in each of your request to the Chift API.
Successful Response
The response is of type ReadSyncItem ยท object[]
.