2. API Response Structure - openphish/pyopdb GitHub Wiki
The API returns successful and failed operations in the following structure. In the command line option, the output is encoded into JSON. When using the API programmatically, the output is a Python3 dictionary object.
{
"success": <True when successful, False otherwise>,
"message": <Message describing the operation status>,
"data": <Object containing the results>
}