Download OpenAPI specification:Download
Enables Sender to generate barcodes, announcement, search, track and get signed proofs for their Registered Mails.
Senders must provide the IDs matching the announcement, the logic is as follows:
Enables Senders to get a barcode for an upcoming Registered Mail they announce. The announcement data provided here will later be used for Search & Track capabilities as well as Proofs generations.
The announcement can accept a barcode for users having a barcode ID (or for routers using a client's barcode ID), otherwise, bpost will attribute a barcode as a result of a correct announcement.
Specific considerations:
| product required | string Example: registeredmail String identifier for the product. Accepted values are "registeredmail" and "judicialmail" |
| x-api-version required | string Example: v1 Indicates which version of the API is used to enable implementations concurrency. |
| x-api-key required | string Example: abhcn12345jnjmk Authentication string provided by bpost. Is used to identify the user. |
Data related to the announcement. Contains the Sender and Receivers' addresses as well as the chosen options and optional custom reference fields.
| accountID required | integer <int64> (AccountID) <= 18 characters Sender main account ID provided by the Account & User Management platform, matches a company |
| subaccountID | integer <int64> (SubaccountID) <= 18 characters Sender subaccount ID provided by the Account & User Management platform, matches a company department |
| routerID | integer <int64> (RouterID) <= 18 characters Router account ID provided by the Account & User Management platform |
object |
{- "accountID": 843249,
- "subaccountID": 573116,
- "routerID": 122598,
- "itemDetails": {
- "barcode": "JJBEA655795432848652048",
- "sender": {
- "name": "Mr. John Doe",
- "companyName": "KBC Bank",
- "department": "Claims dept",
- "place": "CentreMonnaie",
- "street": "Avenue Eugene Plasky",
- "houseNumber": "158",
- "boxNumber": 4,
- "postalCode": "1030",
- "city": "Bruxelles",
- "region": "Bruxelles-Capitale",
- "countryCode": "BE",
- "addressLine1": "Avenue Eugene Plasky 158 bte 4",
- "addressLine2": "1030 Bruxelles Région de Bruxelles-Capitale"
}, - "addressee": {
- "name": "Mr. John Doe",
- "companyName": "KBC Bank",
- "department": "Claims dept",
- "place": "CentreMonnaie",
- "street": "Avenue Eugene Plasky",
- "houseNumber": "158",
- "boxNumber": 4,
- "postalCode": "1030",
- "city": "Bruxelles",
- "region": "Bruxelles-Capitale",
- "countryCode": "BE",
- "addressLine1": "Avenue Eugene Plasky 158 bte 4",
- "addressLine2": "1030 Bruxelles Région de Bruxelles-Capitale"
}, - "options": {
- "acknowledgementReceipt": true,
- "anonymousSender": true,
- "rp": true
}, - "customerReferences": {
- "ref1": "Cust.123654987",
- "ref2": "File.13651874/15618",
- "ref3": "70043170045"
}
}
}{- "announcementID": "68b0ac5b-dc14-4063-bbfc-b631a304c512",
- "accountID": "12345",
- "accountName": "account name",
- "subaccountID": "12346",
- "subAccountName": "sub account name",
- "routerID": "12347",
- "routerName": "router name",
- "message": "The announced registered mail is valid",
- "itemDetails": {
- "barcode": "JJBEA655795432848652048",
- "product": {
- "code": 2999991097459,
- "name": "National Registered Mail normalized"
}, - "options": {
- "acknowledgementReceipt": true,
- "anonymousSender": true,
- "rp": true
}
}, - "status": {
- "code": "success",
- "message": [
- "string"
]
}
}Returns process progress on bpost side along with addresses processing informations. Expects the barcode provided during the announcement.
| product required | string Example: registeredmail String identifier for the product. Accepted values are "registeredmail" and "judicialmail" |
| x-api-version required | string Example: v1 Indicates which version of the API is used to enable implementations concurrency. |
| x-api-key required | string Example: abhcn12345jnjmk Authentication string provided by bpost. Is used to identify the user. |
| accountID | integer <int64> (AccountID) <= 18 characters Sender main account ID provided by the Account & User Management platform, matches a company |
| subaccountID | integer <int64> (SubaccountID) <= 18 characters Sender subaccount ID provided by the Account & User Management platform, matches a company department |
| routerID | integer <int64> (RouterID) <= 18 characters Router account ID provided by the Account & User Management platform |
| barcode | string (Barcode) <= 50 characters Unique ID for a mail, valid 10 years after the announcement |
{- "accountID": 843249,
- "subaccountID": 573116,
- "routerID": 122598,
- "barcode": "JJBEA655795432848652048"
}{- "announcementID": "68b0ac5b-dc14-4063-bbfc-b631a304c512",
- "accountID": "12345",
- "accountName": "account name",
- "subaccountID": "12346",
- "subAccountName": "sub account name",
- "routerID": "12347",
- "routerName": "router name",
- "barcode": "JJBEA655795432848652048",
- "message": "string",
- "senderAddress": {
- "status": "VALID",
- "message": "Sender address is valid",
- "address": {
- "name": "Mr. John Doe",
- "companyName": "KBC Bank",
- "department": "Claims dept",
- "place": "CentreMonnaie",
- "street": "Avenue Eugene Plasky",
- "houseNumber": "158",
- "boxNumber": 4,
- "postalCode": "1030",
- "city": "Bruxelles",
- "region": "Bruxelles-Capitale",
- "countryCode": "BE",
- "addressLine1": "Avenue Eugene Plasky 158 bte 4",
- "addressLine2": "1030 Bruxelles Région de Bruxelles-Capitale"
}, - "validatedAddress": {
- "name": "Mr. John Doe",
- "companyName": "KBC Bank",
- "department": "Claims dept",
- "place": "CentreMonnaie",
- "street": "Avenue Eugene Plasky",
- "houseNumber": "158",
- "boxNumber": 4,
- "postalCode": "1030",
- "city": "Bruxelles",
- "region": "Bruxelles-Capitale",
- "countryCode": "BE",
- "addressLine1": "Avenue Eugene Plasky 158 bte 4",
- "addressLine2": "1030 Bruxelles Région de Bruxelles-Capitale"
}, - "warnings": [
- {
- "filled_name": "string",
- "message": "string"
}
]
}, - "receiverAddress": {
- "status": "VALID",
- "message": "Receiver address is valid",
- "address": {
- "name": "Mr. John Doe",
- "companyName": "KBC Bank",
- "department": "Claims dept",
- "place": "CentreMonnaie",
- "street": "Avenue Eugene Plasky",
- "houseNumber": "158",
- "boxNumber": 4,
- "postalCode": "1030",
- "city": "Bruxelles",
- "region": "Bruxelles-Capitale",
- "countryCode": "BE",
- "addressLine1": "Avenue Eugene Plasky 158 bte 4",
- "addressLine2": "1030 Bruxelles Région de Bruxelles-Capitale"
}, - "validatedAddress": {
- "name": "Mr. John Doe",
- "companyName": "KBC Bank",
- "department": "Claims dept",
- "place": "CentreMonnaie",
- "street": "Avenue Eugene Plasky",
- "houseNumber": "158",
- "boxNumber": 4,
- "postalCode": "1030",
- "city": "Bruxelles",
- "region": "Bruxelles-Capitale",
- "countryCode": "BE",
- "addressLine1": "Avenue Eugene Plasky 158 bte 4",
- "addressLine2": "1030 Bruxelles Région de Bruxelles-Capitale"
}, - "warnings": [
- {
- "filled_name": "string",
- "message": "string"
}
]
}, - "product": {
- "code": 2999991097459,
- "name": "National Registered Mail normalized"
}, - "options": {
- "acknowledgementReceipt": true,
- "anonymousSender": true,
- "rp": true
}, - "customerReference": {
- "ref1": "Cust.123654987",
- "ref2": "File.13651874/15618",
- "ref3": "70043170045"
}
}Provides up to date informations on the selected barcodes
| product required | string Example: registeredmail String identifier for the product. Accepted values are "registeredmail" and "judicialmail" |
| page required | integer Example: page=0 Zero-based page index. |
| size required | integer Example: size=50 The size of the page to be returned |
| x-api-version required | string Example: v1 Indicates which version of the API is used to enable implementations concurrency. |
| x-api-key required | string Example: abhcn12345jnjmk Authentication string provided by bpost. Is used to identify the user. |
The Sender can input one or multiple barcodes. Providing only one barcode will get the full list of statuses in the response. Providing multiple barcodes will return, for each, the latest status.
| accountID required | integer <int64> (AccountID) <= 18 characters Sender main account ID provided by the Account & User Management platform, matches a company |
| subaccountID | integer <int64> (SubaccountID) <= 18 characters Sender subaccount ID provided by the Account & User Management platform, matches a company department |
| routerID | integer <int64> (RouterID) <= 18 characters Router account ID provided by the Account & User Management platform |
| barcode required | Array of strings (Barcode) [ items <= 50 characters ] |
{- "accountID": 843249,
- "subaccountID": 573116,
- "routerID": 122598,
- "barcode": [
- "JJBEA655795432848652048"
]
}{- "accountID": 843249,
- "subaccountID": 573116,
- "routerID": 122598,
- "itemDetails": {
- "result": [
- {
- "barcode": "JJBEA655795432848652048",
- "sender": {
- "name": "Mr. John Doe",
- "companyName": "KBC Bank",
- "department": "Claims dept",
- "place": "CentreMonnaie",
- "street": "Avenue Eugene Plasky",
- "houseNumber": "158",
- "boxNumber": 4,
- "postalCode": "1030",
- "city": "Bruxelles",
- "region": "Bruxelles-Capitale",
- "countryCode": "BE",
- "addressLine1": "Avenue Eugene Plasky 158 bte 4",
- "addressLine2": "1030 Bruxelles Région de Bruxelles-Capitale"
}, - "addressee": {
- "name": "Mr. John Doe",
- "companyName": "KBC Bank",
- "department": "Claims dept",
- "place": "CentreMonnaie",
- "street": "Avenue Eugene Plasky",
- "houseNumber": "158",
- "boxNumber": 4,
- "postalCode": "1030",
- "city": "Bruxelles",
- "region": "Bruxelles-Capitale",
- "countryCode": "BE",
- "addressLine1": "Avenue Eugene Plasky 158 bte 4",
- "addressLine2": "1030 Bruxelles Région de Bruxelles-Capitale"
}, - "product": {
- "code": 2999991097459,
- "name": "National Registered Mail normalized"
}, - "options": {
- "acknowledgementReceipt": true,
- "anonymousSender": true,
- "rp": true
}, - "customerReferences": {
- "ref1": "Cust.135649877",
- "ref2": "N/REF-132158479",
- "ref3": 70043170045
}, - "status": [
- {
- "statusCode": "100-1",
- "statusText": "Announced",
- "direction": "TO_ADDRESSEE",
- "timestamp": "2021-06-26",
- "location": "ABC"
}
]
}
], - "pageCount": 1,
- "size": 50,
- "page": 1
}
}{- "accountID": "70043170045",
- "subaccountID": "70043170045",
- "routerID": "70043170045",
- "itemDetail": {
- "barcode": "JJBEA655795432848652048",
- "status": "80-0",
- "location": "BRUSSELS X",
- "direction": "TO_ADDRESSEE",
- "timestamp": "2022-12-31T23:59:59",
- "description": "The item has been announced"
}
}Given multiple criterias, returns the matching barcodes along with the data provided in the announcements. Results are paginated and the maximum number of results is 1000.
Given a user can search on different statuses, here is the statuses table:
| Code | Subcode | Description |
|---|---|---|
| 10 | The item has been announced | |
| 30 | The item has been handed in to bpost (Quickstamp) | |
| 40 | The item went through export customs procedures | |
| 80 | The item is in transit | |
| 100 | the item is out for delivery | |
| 100 | 2 | The item is on the way to pickup point |
| 100 | 3 | The item is on the way |
| 110 | The item could not be delivered | |
| 110 | 1 | The item could not be delivered because the consignee not at home |
| 110 | 2 | The item could not be delivered because consignee moved |
| 110 | 3 | The item could not be delivered because the address is incorrect |
| 110 | 4 | The item could not be delivered, another attempt will be performed |
| 110 | 5 | The item could not be delivered becauseof an unexpected issue |
| 200 | The item made available at pickup point | |
| 300 | The item has been delivered | |
| 300 | 1 | The item has been delivered at door |
| 300 | 4 | The item has been picked up by consignee at pickup point |
| 300 | 5 | The item has been delivered at Letterbox |
| 400 | The item has retuned to sender | |
| 400 | 1 | The item is retuned to sender because of a wrong address |
| 400 | 2 | The item has retuned to sender because it was refused by the receiver |
| 400 | 3 | The item has retuned to sender because it was damaged |
| 400 | 4 | The item has retuned to sender because it was not collected by addressee from the pickup point |
| 400 | 5 | The item has retuned to sender because of an unexpected issue |
| product required | string Example: registeredmail String identifier for the product. Accepted values are "registeredmail" and "judicialmail" |
| page required | integer Example: page=0 Zero-based page index. |
| size required | integer <= 50 Example: size=50 The size of the page to be returned, max value is 50 |
| x-api-version required | string Example: v1 Indicates which version of the API is used to enable implementations concurrency. |
| x-api-key required | string Example: abhcn12345jnjmk Authentication string provided by bpost. Is used to identify the user. |
Valid search criterias, as default the dateFrom and DateTo values match for the previous year (current day - 365 days). All fields must be present, only filled ones will be used for searching. Fields will be treated as if partially filled.
| accountID required | integer <int64> (AccountID) <= 18 characters Sender main account ID provided by the Account & User Management platform, matches a company |
| subaccountID | Array of integers |
| routerID | integer <int64> (RouterID) <= 18 characters Router account ID provided by the Account & User Management platform |
object |
{- "accountID": 843249,
- "subaccountID": [
- 0
], - "routerID": 122598,
- "itemDetail": {
- "dateFrom": "2020-06-26",
- "dateTo": "2021-06-26",
- "hasHadStatus": "110-1",
- "currentStatus": null,
- "direction": "TO_ADDRESSEE",
- "item": {
- "name": "National Registered Mail normalized",
- "options": {
- "acknowledgementReceipt": true,
- "anonymousSender": true,
- "rp": true
}, - "customerRefValue": {
- "ref1": 12345,
- "ref2": 67890,
- "ref3": "abcdef"
}
}, - "sender": {
- "name": "Mr. John Doe",
- "companyName": "KBC Bank",
- "department": "Claims dept",
- "street": "Avenue Eugene Plasky",
- "postalCode": "1030",
- "city": "Bruxelles",
- "countryCode": "BE"
}, - "addressee": {
- "name": "Mr. John Doe",
- "companyName": "KBC Bank",
- "department": "Claims dept",
- "street": "Avenue Eugene Plasky",
- "postalCode": "1030",
- "city": "Bruxelles",
- "countryCode": "BE"
}
}
}{- "searchResponse": {
- "currentPage": 0,
- "pageSize": 0,
- "totalresults": 0,
- "totalPages": 0,
- "results": [
- {
- "accountID": 1123456,
- "subaccountID": 1123458,
- "routerID": 1123459,
- "itemDetails": [
- {
- "barcode": "JJBEA655795432848652048",
- "sender": {
- "name": "Mr. John Doe",
- "companyName": "KBC Bank",
- "department": "Claims dept",
- "place": "CentreMonnaie",
- "street": "Avenue Eugene Plasky",
- "houseNumber": "158",
- "boxNumber": 4,
- "postalCode": "1030",
- "city": "Bruxelles",
- "region": "Bruxelles-Capitale",
- "countryCode": "BE",
- "addressLine1": "Avenue Eugene Plasky 158 bte 4",
- "addressLine2": "1030 Bruxelles Région de Bruxelles-Capitale"
}, - "addressee": {
- "name": "Mr. John Doe",
- "companyName": "KBC Bank",
- "department": "Claims dept",
- "place": "CentreMonnaie",
- "street": "Avenue Eugene Plasky",
- "houseNumber": "158",
- "boxNumber": 4,
- "postalCode": "1030",
- "city": "Bruxelles",
- "region": "Bruxelles-Capitale",
- "countryCode": "BE",
- "addressLine1": "Avenue Eugene Plasky 158 bte 4",
- "addressLine2": "1030 Bruxelles Région de Bruxelles-Capitale"
}, - "product": {
- "code": 2999991097459,
- "name": "National Registered Mail normalized",
- "productCategory": "REGISTERED_LETTER"
}, - "options": {
- "acknowledgementReceipt": true,
- "anonymousSender": true,
- "rp": true
}, - "customerReferences": {
- "ref1": "Cust.123654987",
- "ref2": "File.1365187/15618",
- "ref3": "70043170045"
}, - "direction": "TO_ADDRESSEE"
}
]
}
]
}
}Returns a digitally signed Proof of Deposit in PDF format. If the AR option was selected during the announcement, the 2nd page related to the option will be added as soon as related data are available, on user request.
| product required | string Example: registeredmail String identifier for the product. Accepted values are "registeredmail" and "judicialmail" |
| x-api-version required | string Example: v1 Indicates which version of the API is used to enable implementations concurrency. |
| x-api-key required | string Example: abhcn12345jnjmk Authentication string provided by bpost. Is used to identify the user. |
Given a barcode, returns the related Proof of Deposit
| accountID required | integer <int64> (AccountID) <= 18 characters Sender main account ID provided by the Account & User Management platform, matches a company |
| subaccountID | integer <int64> (SubaccountID) <= 18 characters Sender subaccount ID provided by the Account & User Management platform, matches a company department |
| routerID | integer <int64> (RouterID) <= 18 characters Router account ID provided by the Account & User Management platform |
| barcode required | string (Barcode) <= 50 characters Unique ID for a mail, valid 10 years after the announcement |
{- "accountID": 843249,
- "subaccountID": 573116,
- "routerID": 122598,
- "barcode": "JJBEA655795432848652048"
}{- "accountID": "string",
- "subaccountID": "string",
- "routerID": "string",
- "barcode": "JJBEA655795432848652048",
- "itemDetails": {
- "file": "string",
- "iseAR": true,
- "receivedByProxy": true
}
}