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"    
                ],
            }
        }
    }
}

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."
}

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."
}

Last updated

Was this helpful?