InfobipAPIWrapper#

class langchain_community.utilities.infobip.InfobipAPIWrapper[source]#

Bases: BaseModel

Wrapper for Infobip API for messaging.

Create a new model by parsing and validating input data from keyword arguments.

Raises ValidationError if the input data cannot be parsed to form a valid model.

param infobip_api_key: str | None = None#
param infobip_base_url: str | None = 'https://api.infobip.com'#
run(body: str = '', to: str = '', sender: str = '', subject: str = '', channel: str = 'sms') str[source]#
Parameters:
  • body (str) –

  • to (str) –

  • sender (str) –

  • subject (str) –

  • channel (str) –

Return type:

str

Examples using InfobipAPIWrapper