This endpoint lists branches
POST https://sandbox.reggora.io/lender/branch
Parameter Default Description limit 50 Number of branches to return in page offset 0 Number of branches to skip for paginated results
Attribute Description Type branch_identifier Unique identifier string name Branch name string address Street address string city City string state State string zip Zipcode string branch_classification Options: [‘retail’, ‘wholesale’] string is_joint_venture Boolean / Default is False bool contact_phone_number Phone number string contact_email Email address string loan_officers List of loan officers Dict parent_branch_identifier The branch identifier of the parent nullable string exists_in_hierarchy Flag if branch is in the lender hierarchy bool
Status Code Message 400 Invalid integration header 400 User is not in a lender.
Errors not encapsulated in this custom error list can be interpreted as standard REST RFC errors.
'Authorization' : 'Bearer {} ' .format( REGGORA_AUTH_TOKEN ),
'integration' : ' {} ' .format( REGGORA_INTEGRATION_KEY )
response = requests.get( 'https://sandbox.reggora.io/lender/branch' , headers = headers)
"branch_id" : "5d6ecfdb69655808d5b3d012" ,
"branch_identifier" : "test_branch_1" ,
"address" : "123 Main St" ,
"branch_classification" : "retail" ,
"is_joint_venture" : false ,
"contact_phone_number" : "555-555-5555" ,
"contact_email" : "email@testreggora.com" ,
"parent_branch_identifier" : "test_branch_2" ,
"exists_in_hierarchy" : true
This endpoint creates a branch
POST https://sandbox.reggora.io/lender/branch
Parameter Description Required branch_identifier Unique identifier True name Branch name False address Street address False branch_classification Options: [‘retail’, ‘wholesale’] False is_joint_venture Boolean / Default is False False city City False state State False ZIP Zipcode False contact_phone_number Phone number False contact_email Email address False parent_branch_identifier Unique identifier of parent False
Attribute Description Type branch_identifier Unique identifier string name Branch name string address Street address string city City string state State string ZIP Zipcode string branch_classification Options: [‘retail’, ‘wholesale’] string is_joint_venture Boolean / Default is False bool contact_phone_number Phone number string contact_email Email address string loan_officers List of loan officers Dict parent_branch_identifier The branch identifier of the parent nullable string exists_in_hierarchy Flag if branch is in the lender hierarchy bool
Status Code Message 400 Invalid integration header 400 User is not in a lender. 400 Parent branch with branch_identifier: <{parent_branch_identifier}> does not exist in hierarchy. 400 Hierarchy relationship invalid - loop detected. Parent branch <{parent_branch_identifier}> is the child branch of <{existing_branch.branch_identifier}>. 404 Branch <branch_identifier> not found. 409 Active branch with branch_identifier: <{branch_identifier}> already exists. 500 Error creating branch with branch_identifier: <{branch_identifier}>.
Errors not encapsulated in this custom error list can be interpreted as standard REST RFC errors.
'Authorization' : 'Bearer {} ' .format( REGGORA_AUTH_TOKEN ),
'integration' : ' {} ' .format( REGGORA_INTEGRATION_KEY )
"branch_identifier" : "Location 123456" ,
"address" : "822 Main St" ,
"branch_classification" : "retail" ,
"is_joint_venture" : False ,
"contact_phone_number" : "555-555-5555" ,
"contact_email" : "user@reggorapartner.com" ,
"parent_branch_identifier" : "ParentBranch202"
response = requests.post( 'https://sandbox.reggora.io/lender/branch' , headers = headers)
"branch_id" : "5d6ecfdb69655808d5b3d012" ,
"branch_identifier" : "test_branch_1" ,
"address" : "123 Main St" ,
"branch_classification" : "retail" ,
"is_joint_venture" : false ,
"contact_phone_number" : "555-555-5555" ,
"contact_email" : "email@testreggora.com" ,
"parent_branch_identifier" : "test_branch_2" ,
"exists_in_hierarchy" : true
This endpoint soft deletes a branch
DELETE https://sandbox.reggora.io/lender/branch/<branch_identifier>
Parameter Description branch_identifer The unique identifier of the branch.
Status Code Message 400 Invalid integration header 400 User is not in a lender. 400 Unable to delete branch <{branch_identifier}> — it is a parent branch. 404 Branch <branch_identifier> not found. 500 Error deleting branch with branch_identifier: <branch_identifier>.
Errors not encapsulated in this custom error list can be interpreted as standard REST RFC errors.
'Authorization' : 'Bearer {} ' .format( REGGORA_AUTH_TOKEN ),
'integration' : ' {} ' .format( REGGORA_INTEGRATION_KEY )
response = requests.delete( 'https://sandbox.reggora.io/lender/branch/<branch_identifier>' , headers = headers)
"success" : "Branch <branch_identifier> has been deleted." ,
This endpoint soft deletes a branch and reassigns the loan officers to a target branch specified in the body of the request.
DELETE https://sandbox.reggora.io/lender/branch/<branch_identifier>/reassign
Parameter Description branch_identifer The unique identifier of the branch.
Status Code Message 400 Invalid integration header 400 User is not in a lender. 400 Unable to delete branch <{branch_identifier}> — it is a parent branch. 400 Missing ‘target_branch_identifier’ in the body to reassign loan officers to. 404 Branch <branch_identifier> not found. 404 Target branch not found for target_branch_identifier: <target_branch_identifier>. 500 Error deleting branch with branch_identifier: <branch_identifier>.
Errors not encapsulated in this custom error list can be interpreted as standard REST RFC errors.
'Authorization' : 'Bearer {} ' .format( REGGORA_AUTH_TOKEN ),
'integration' : ' {} ' .format( REGGORA_INTEGRATION_KEY )
"target_branch_identifier" : "branch_identifier_123" ,
response = requests.delete( 'https://sandbox.reggora.io/lender/branch/<branch_identifier>/reassign' , headers = headers)
"success" : "Branch <branch_identifier> has been deleted." ,
This endpoint updates a branch
PUT https://sandbox.reggora.io/lender/branch/<branch_identifier>?update_hierarchy=false
Parameter Description branch_identifer The unique identifier of the branch.
Parameter Description update_hierarchy An optional boolean that determines whether or not to update branch hierarchy. Defaults to False.
Attribute Description Type branch_identifier Unique identifier string name Branch name string address Street address string city City string state State string ZIP Zipcode string branch_classification Options: [‘retail’, ‘wholesale’] string is_joint_venture Boolean / Default is False bool contact_phone_number Phone number string contact_email Email address string loan_officers List of loan officers Dict parent_branch_identifier The branch identifier of the parent nullable string exists_in_hierarchy Flag if branch is in the lender hierarchy bool
Attribute Description Type id Unique identifier string email Email address string firstname First Name string lastname Last Name string phone_number Phone number string created Date Created UTC string
Status Code Message 400 Invalid integration header 400 User is not in a lender. 400 Parent branch with branch_identifier: <{parent_branch_identifier}> does not exist in hierarchy. 400 Missing ‘parent_branch_identifier’ in the body to update the hierarchy relationship. 400 Hierarchy relationship invalid - loop detected. Parent branch <{parent_branch_identifier}> is the child branch of <{existing_branch.branch_identifier}>. 404 Branch <branch_identifier> not found. 500 Error updating branch with branch_identifier: <{branch_identifier}>.
Errors not encapsulated in this custom error list can be interpreted as standard REST RFC errors.
'Authorization' : 'Bearer {} ' .format( REGGORA_AUTH_TOKEN ),
'integration' : ' {} ' .format( REGGORA_INTEGRATION_KEY )
response = requests.put( 'https://sandbox.reggora.io/lender/branch/<branch_identifier>?update_hierarchy=false' , headers = headers)
"branch_id" : "5d6ecfdb69655808d5b3d012" ,
"branch_identifier" : "test_branch_1" ,
"address" : "123 Main St" ,
"branch_classification" : "retail" ,
"is_joint_venture" : false ,
"contact_phone_number" : "555-555-5555" ,
"contact_email" : "email@testreggora.com" ,
"id" : "6373c8fcd74957d911629dcf" ,
"email" : "email@testreggora.com" ,
"phone_number" : "1234567890" ,
"created" : "2022-11-15 17:15:50.307000"
"parent_branch_identifier" : "test_branch_2" ,
"exists_in_hierarchy" : true
This endpoint fetches a branch
GET https://sandbox.reggora.io/lender/branch/<branch_identifier>
Parameter Description branch_identifer The unique identifier of the branch.
Attribute Description Type branch_identifier Unique identifier string name Branch name string address Street address string city City string state State string ZIP Zipcode string branch_classification Options: [‘retail’, ‘wholesale’] string is_joint_venture Boolean / Default is False bool contact_phone_number Phone number string contact_email Email address string loan_officers List of loan officers Dict parent_branch_identifier The branch identifier of the parent nullable string exists_in_hierarchy Flag if branch is in the lender hierarchy bool
Attribute Description Type id Unique identifier string email Email address string firstname First Name string lastname Last Name string phone_number Phone number string created Date Created UTC string
'Authorization' : 'Bearer {} ' .format( REGGORA_AUTH_TOKEN ),
'integration' : ' {} ' .format( REGGORA_INTEGRATION_KEY )
response = requests.get( 'https://sandbox.reggora.io/lender/branch/<branch_identifier>' , headers = headers)
"branch_id" : "5d6ecfdb69655808d5b3d012" ,
"branch_identifier" : "test_branch_1" ,
"address" : "123 Main St" ,
"branch_classification" : "retail" ,
"is_joint_venture" : false ,
"contact_phone_number" : "555-555-5555" ,
"contact_email" : "email@testreggora.com" ,
"id" : "6373c8fcd74957d911629dcf" ,
"email" : "email@testreggora.com" ,
"phone_number" : "1234567890" ,
"created" : "2022-11-15 17:15:50.307000"
"parent_branch_identifier" : "test_branch_2" ,
"exists_in_hierarchy" : true