post https://apigwws.bizapis.com/v2/documents/ss-no-debt
Endpoint to retrieve the document "Dívida/Não Dívida" from Segurança Social
What's New in bizAPIs 3.0Enhanced Error Responses with bizAPIs Status Codes
bizAPIs 3.0 introduces structured error responses with dedicated bizAPIs status codes, making debugging faster and support interactions more efficient. All error responses now include detailed metadata like
requestId,errorCode, anderrorNameto help you quickly identify and resolve issues.
Availability by Environment
Environment Status 📚 Documentation ✅ Available 🧪 QUAL ✅ Available 🚀 Production ⏳ Coming Soon
JSON Schema API Response
{
"type": "object",
"properties": {
"data": {
"type": "object",
"properties": {
"requestId" : {
"type" : "string",
"description" : "Identificador único do pedido"
}
}
},
"file": {
"type": "string",
"description": "Ficheiro PDF em base 64"
}
}
}
{
"type": "object",
"properties": {
"data": {
"type": "object",
"properties": {
"requestId" : {
"type" : "string",
"description" : "Unique request identifier"
}
}
},
"file": {
"type": "string",
"description": "Encoded base 64 file."
}
}
}
Best Practices
- Always log the
requestId- Include it when contacting support for faster issue resolution - Use
errorCodeorerrorNamefor programmatic error handling in your application - Reference the timestamp for correlating errors with your application logs