Update inbox
Changed onUpdate inbox object.
Request
- Base URLhttps://example.rossum.app
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
ID of the inbox
Request body
Example request
{
"id": 1234,
"name": "Receipts",
"url": "https://example.rossum.app/api/v1/inboxes/1234",
"queues": [
"https://example.rossum.app/api/v1/queues/8199"
],
"email": "east-west-trading-co-a34f3a@example.rossum.app",
"email_prefix": "east-west-trading-co",
"bounce_email_to": "bounces@east-west.com",
"bounce_email_with_no_attachments": true,
"metadata": {
"some_key": "some_value"
},
"filters": {
"allowed_senders": [
"*@rossum.ai",
"john.doe@company.com",
"john.doe@company.??"
],
"denied_senders": [
"spam@*"
],
"document_rejection_conditions": {
"enabled": true,
"resolution_lower_than_px": [
1200,
600
],
"mime_types": [
"image/gif"
]
}
},
"dmarc_check_action": "accept",
"modified_by": "https://example.rossum.app/api/v1/users/10775",
"modified_at": "2021-04-26T10:08:03.856648Z"
}Response
OK
Example response
{
"id": 1234,
"name": "Receipts",
"url": "https://example.rossum.app/api/v1/inboxes/1234",
"queues": [
"https://example.rossum.app/api/v1/queues/8199"
],
"email": "east-west-trading-co-a34f3a@example.rossum.app",
"email_prefix": "east-west-trading-co",
"bounce_email_to": "bounces@east-west.com",
"bounce_email_with_no_attachments": true,
"metadata": {
"some_key": "some_value"
},
"filters": {
"allowed_senders": [
"*@rossum.ai",
"john.doe@company.com",
"john.doe@company.??"
],
"denied_senders": [
"spam@*"
],
"document_rejection_conditions": {
"enabled": true,
"resolution_lower_than_px": [
1200,
600
],
"mime_types": [
"image/gif"
]
}
},
"dmarc_check_action": "accept",
"modified_by": "https://example.rossum.app/api/v1/users/10775",
"modified_at": "2021-04-26T10:08:03.856648Z"
}Changes
- breaking
the response's body type changed from
objectto no type for status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - info
added
subschema #2to the response bodyallOflist for the response status
- breaking