Forms
Autorizações
AuthorizationstringObrigatório
Bearer authentication header of the form Bearer <token>.
Parâmetros de rota
formIdstringObrigatório
ID do formulario
Respostas
200
OK
application/json
idstringOpcional
namestringOpcional
titlestringOpcional
activebooleanOpcional
typestringOpcional
keystringOpcional
updated_atstring · date-timeOpcional
404
Form was not found
application/json
500
An internal server error was thrown
application/json
get/forms/{formId}
GET /api/b2b/forms/{formId} HTTP/1.1
Host: api.zydon.com.br
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"id": "text",
"name": "text",
"title": "text",
"active": true,
"type": "text",
"key": "text",
"updated_at": "2026-01-01T00:00:00.000Z"
}Autorizações
AuthorizationstringObrigatório
Bearer authentication header of the form Bearer <token>.
Parâmetros de rota
formIdstringObrigatório
ID do formulario
Corpo
titlestringObrigatório
namestringObrigatório
activebooleanOpcional
typestring · enumObrigatórioValores possíveis:
keystringOpcional
Respostas
200
OK
application/json
idstringOpcional
namestringOpcional
titlestringOpcional
activebooleanOpcional
typestringOpcional
keystringOpcional
updated_atstring · date-timeOpcional
404
Form was not found
application/json
500
An internal server error was thrown
application/json
put/forms/{formId}
PUT /api/b2b/forms/{formId} HTTP/1.1
Host: api.zydon.com.br
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 100
{
"title": "text",
"name": "text",
"active": true,
"type": "ACTION_DASHBOARD_REPORT_PARAMETER",
"key": "text"
}{
"id": "text",
"name": "text",
"title": "text",
"active": true,
"type": "text",
"key": "text",
"updated_at": "2026-01-01T00:00:00.000Z"
}Autorizações
AuthorizationstringObrigatório
Bearer authentication header of the form Bearer <token>.
Parâmetros de rota
formIdstringObrigatório
ID do formulario
Respostas
204
Form deleted successfully
Sem conteúdo
404
Form was not found
500
An internal server error was thrown
delete/forms/{formId}
DELETE /api/b2b/forms/{formId} HTTP/1.1
Host: api.zydon.com.br
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
Sem conteúdo
Autorizações
AuthorizationstringObrigatório
Bearer authentication header of the form Bearer <token>.
Parâmetros de rota
formIdstringObrigatório
ID do formulario
Corpo
titlestringObrigatório
namestringObrigatório
activebooleanOpcional
typestring · enumObrigatórioValores possíveis:
keystringOpcional
Respostas
200
OK
application/json
idstringOpcional
namestringOpcional
titlestringOpcional
activebooleanOpcional
typestringOpcional
keystringOpcional
updated_atstring · date-timeOpcional
404
Form was not found
*/*
500
An internal server error was thrown
*/*
patch/forms/{formId}
PATCH /api/b2b/forms/{formId} HTTP/1.1
Host: api.zydon.com.br
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 100
{
"title": "text",
"name": "text",
"active": true,
"type": "ACTION_DASHBOARD_REPORT_PARAMETER",
"key": "text"
}{
"id": "text",
"name": "text",
"title": "text",
"active": true,
"type": "text",
"key": "text",
"updated_at": "2026-01-01T00:00:00.000Z"
}Autorizações
AuthorizationstringObrigatório
Bearer authentication header of the form Bearer <token>.
Parâmetros de consulta
searchstringOpcionalDefault:
""pageinteger · int32OpcionalDefault:
0perPageinteger · int32OpcionalDefault:
25sortstringOpcionalDefault:
titledirstringOpcionalDefault:
asctypestring · enumOpcionalValores possíveis:
Tipo de Formulário
Respostas
200
Forms listed
application/json
currentPageinteger · int32Opcional
perPageinteger · int32Opcional
totalinteger · int64Opcional
404
Portal was not found
application/json
422
A query param was invalid
application/json
500
An internal server error was thrown
application/json
get/forms
GET /api/b2b/forms HTTP/1.1
Host: api.zydon.com.br
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"currentPage": 1,
"perPage": 1,
"total": 1,
"items": [
{
"id": "text",
"name": "text",
"title": "text",
"active": true,
"type": "text"
}
]
}Autorizações
AuthorizationstringObrigatório
Bearer authentication header of the form Bearer <token>.
Corpo
namestringOpcional
titlestringOpcional
activebooleanOpcional
typestring · enumObrigatórioValores possíveis:
Respostas
200
OK
application/json
idstringOpcional
namestringOpcional
titlestringOpcional
activebooleanOpcional
typestringOpcional
keystringOpcional
updated_atstring · date-timeOpcional
404
Form was not found
application/json
500
An internal server error was thrown
application/json
post/forms
POST /api/b2b/forms HTTP/1.1
Host: api.zydon.com.br
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 87
{
"name": "text",
"title": "text",
"active": true,
"type": "ACTION_DASHBOARD_REPORT_PARAMETER"
}{
"id": "text",
"name": "text",
"title": "text",
"active": true,
"type": "text",
"key": "text",
"updated_at": "2026-01-01T00:00:00.000Z"
}