Create/add field via API in Smartsuite

Hi All,

I am not able to use the Developer API endpoints.

Can anyone confirm that they are working? It is highly possible that I am missing something but at the moment I ran out of ideas.

This is an example request i have been testing (among many other as well)

[
{
“ca”: null,
“qs”: ,
“url”: “https://app.smartsuite.com/api/v1/applications/.........................MY TABLE ID HERE…/add_field/”,
“data”: “{\n "field": {\n "slug": "s12341234x",\n "label": "test001",\n "field_type": "textfield",\n "params": {\n "primary": false, \n "restore_application_id": null,\n "max_length": null,\n "composite": null,\n "delimiter": ", ",\n "required": false,\n "unique": false,\n "hidden": false,\n "help_text_display_format": "tooltip",\n "help_doc": null,\n "placeholder": "Write here",\n "default_value": null,\n "width": 1,\n "system": false,\n "valid": true,\n "is_migrating": false\n },\n "is_new": true\n },\n "Field_Position": {"prev_sibling_slug": null},\n "auto_fill_structure_layout": true\n}”,
“gzip”: true,
“method”: “post”,
“headers”: [
{
“name”: “Authorization”,
“value”: “Token …MY TOKEN HERE…”
},
{
“name”: “ACCOUNT-ID”,
“value”: “…MY WORKSPACE ID HERE…”
},
{
“name”: “Content-Type”,
“value”: “application/json”
}
],
“timeout”: null,
“useMtls”: false,
“authPass”: null,
“authUser”: null,
“bodyType”: “raw”,
“contentType”: “application/json”,
“serializeUrl”: false,
“shareCookies”: false,
“parseResponse”: true,
“followRedirect”: true,
“useQuerystring”: false,
“followAllRedirects”: false,
“rejectUnauthorized”: true
}
]

Can anyone help please?

@Raul_Ciocan
Hi, not everyone in the Community uses SmartSuite, so let me ask a few questions to clarify the issue.

  1. Please give us the configuration of the Module that is causing the problem.
  2. What is the error in the module that is causing the problem from the run history?
1 Like