EZloan APIs
  • Overview
  • authentication
    • API Key
  • SERVICE APIS
    • v1
      • Credit Decisioning Flow
        • User Setup
          • Sign up
          • Update
          • User access
        • Get Borrower Info
        • Upload Borrower Data
        • Check Data Collected
        • Link Extracted Data
        • Remove Linked Data
        • View Summary Variables
        • Get SMS Variables
        • Get Credit Score
        • Get Top Locations
      • Scoring Formula
      • Scoring Weights
      • Business Rules
      • Payments
        • Get Due Payments
      • Credit Products
      • Credit Applications
      • Financial Providers
      • Issue CSV [WIP]
      • Report Borrower
      • Template Extender
  • Error codes
    • HTTP Codes
Powered by GitBook
On this page
  • show all available templates.
  • add new template for a specific user or add new use with new template.
  • delete a specific template of a sender.

Was this helpful?

  1. SERVICE APIS
  2. v1

Template Extender

show all available templates.

GET https://ezloan.genify.ai/api/v1.0/sms/templates

Headers

Name
Type
Description

user_name*

string

partner's username

authorization*

string

partner's api key.

{
    {
        "senders": {
            "ABKEGYPT": 
            {
                "other_outgoing_payment": [],
                "salary": [
                "تم إضافة المرتب في حسابك بمبلغ {{amount}} جم. للتفاصيل قم بالتسجيل في خدمة الانترنت البنكية أو حمل تطبيق ABK Egypt Mobile Banking"    
                ],
            }
        }
    }
}
{
    "message": "invalid credentials"
}
{
    "message": "forbidden"
}

add new template for a specific user or add new use with new template.

POST https://ezloan.genify.ai/api/v1.0/sms/templates

Headers

Name
Type
Description

user_name*

string

partner's username

authorization*

string

partner's api key

Request Body

Name
Type
Description

sender*

string

name of sender that you want to

add a new template on.

category*

string

category type of the new template.

templates*

list<string>

list of new templates to add on the system.

{
    "message": " template was added successfully."
}
{
    "message": "invalid credentials"
}
{
    "message": "forbidden"
}

delete a specific template of a sender.

DELETE https://ezloan.genify.ai/api/v1.0/sms/templates

Headers

Name
Type
Description

user_name*

string

partner's username.

authorization*

string

partner's api_key.

Request Body

Name
Type
Description

sender*

string

sender name.

category*

string

requested template category.

template_number*

number

number of template that will be removed.

{
    "message": "template was deleted successfully."
}
{
    "message": "please enter a valid template number."
}
{
    "message": "sms variable does not exist on the requested sender's template."
}
{
    "message": "sender does not exist."
}

PreviousReport BorrowerNextHTTP Codes

Last updated 2 years ago

Was this helpful?