Config
Get Config
GET
/
api
/
v2
/
public
/
slug
/
:slug
/
config
/
:config_id
curl --request GET \
--url https://api.gocobalt.io/api/v2/public/slug/:slug/config/:config_id \
--header 'linked_account_id: <linked_account_id>' \
--header 'x-api-key: <x-api-key>'
{
"slug": "mailerlite",
"config_id": "config_4",
"fields": [
{
"required": false,
"id": "646473c7e7b74deee820458f",
"name": "MailerLite Field Mapping",
"field_type": "map",
"options": [
{
"name": "City",
"value": "city"
},
{
"name": "Company",
"value": "company"
},
{
"name": "Country",
"value": "country"
},
{
"name": "Last name",
"value": "last_name"
},
{
"name": "Name",
"value": "name"
},
{
"name": "Phone",
"value": "phone"
},
{
"name": "State",
"value": "state"
},
{
"name": "Zip",
"value": "z_i_p"
}
],
"labels": [
{
"name": "Customer Name",
"value": "name"
},
{
"name": "Customer Last Name",
"value": "last_name"
},
{
"name": "Customer's Company",
"value": "company"
}
]
}
],
"workflows": [
{
"id": "649d230c2ce6b9b07b163e61",
"name": "Add a Subscriber to Mailerlite",
"description": "",
"enabled": false,
"fields": []
}
]
}
This API returns the specified config.
Request description
Headers
linked_account_id
string
requiredUnique customer identification id. For Eg: markwood@some_email.com
Path Parameters
slug
string
requiredApplication Slug. Eg: docusign
config_id
string
Id of the config to be fetched. If not provided, linked_account_id
is considered by default.
Response description
200
500
slug
string
Application slug
config_id
string
Unique ID of the created config
fields
array
Global input fields of an application
workflows
array
Published workflows of the application
curl --request GET \
--url https://api.gocobalt.io/api/v2/public/slug/:slug/config/:config_id \
--header 'linked_account_id: <linked_account_id>' \
--header 'x-api-key: <x-api-key>'
{
"slug": "mailerlite",
"config_id": "config_4",
"fields": [
{
"required": false,
"id": "646473c7e7b74deee820458f",
"name": "MailerLite Field Mapping",
"field_type": "map",
"options": [
{
"name": "City",
"value": "city"
},
{
"name": "Company",
"value": "company"
},
{
"name": "Country",
"value": "country"
},
{
"name": "Last name",
"value": "last_name"
},
{
"name": "Name",
"value": "name"
},
{
"name": "Phone",
"value": "phone"
},
{
"name": "State",
"value": "state"
},
{
"name": "Zip",
"value": "z_i_p"
}
],
"labels": [
{
"name": "Customer Name",
"value": "name"
},
{
"name": "Customer Last Name",
"value": "last_name"
},
{
"name": "Customer's Company",
"value": "company"
}
]
}
],
"workflows": [
{
"id": "649d230c2ce6b9b07b163e61",
"name": "Add a Subscriber to Mailerlite",
"description": "",
"enabled": false,
"fields": []
}
]
}