Mango9

APIs

API Overview

The Mango9 API allows you to programmatically access and manage your account features, make calls, send messages, manage calendar events, and integrate with your existing systems.

Calendar API - Create Event

Your API Key: a1b2c3d4e5f67

Keep your API key secure and never share it publicly

Endpoint

POST https://us.mango9.com/calendar_api

Parameters

ParameterTypeRequiredDescription
apiKeyStringYesYour API key for authentication
startObjectYesEvent start details including dateTime and timeZone
endObjectYesEvent end details including dateTime and timeZone
summaryStringNoTitle of the event
descriptionStringNoA detailed explanation of the event
activityStringNoActivity type: "task", "appointment", "follow up call"
priorityStringNoPriority level: "high", "medium", "low"
remindersObjectNoReminder methods: "email", "sms", "both" with minutes before event

Request Example

Sample Response

Error Codes

StatusCodeDescription
Success00Operation completed successfully
Error01No API Key Provided - Missing API key
Error02Wrong API Key - Invalid API key
Error03Start Date Could Not Be Empty - Missing start field
Error04End Date Could Not Be Empty - Missing end field
Error05Time Zone Could Not Be Empty - Missing timeZone field
Error400The specified time range is empty / Invalid request payload
Error401Invalid Credentials
Error500Backend Error
Busy200No free slots available today / Event scheduled outside business hours

Contacts API - Create New Lead

Your API Key: x9y8z7w6v5u43

Keep your API key secure and never share it publicly

Endpoint

POST https://us.mango9.com/contacts_api

Parameters

ParameterTypeRequiredDescription
keyStringYesThe unique API key for authentication
contactStringYesThe contact number of the individual
nameStringYesThe full name of the contact person
emailStringNoThe email address of the contact person
cityStringNoThe city where the contact person resides
stateStringNoThe state where the contact person resides
zipStringNoThe ZIP code associated with the contact person
countryStringNoThe country where the contact person resides
group_idStringNoThe group ID associated with the contact person
noteStringNoInformation about the lead that the company leaves behind
Custom FieldsVariesNoAdditional fields for specifying custom attributes and values

Request Example

Sample Response

Error Codes

StatusCodeDescription
Success00New contact has been added successfully!
Error01No API Key Provided - Missing API key
Error02Wrong API Key - Invalid API key
Error03First name could not be empty - Missing name field
Error04Last name could not be empty - Missing name field
Error05Contact number could not be empty - Missing contact field
Error97The number you want to add already exists!
Error99An error occurred, Please contact the administrator!
Error401Invalid Credentials
Error500Backend Error

SMS API - Send Text Messages

Your API Key: k8j7h6g5f4d32

Keep your API key secure and never share it publicly

Endpoints

POST https://us.mango9.com/app/smsapi/sms/post

GET https://us.mango9.com/app/smsapi/sms/get

We also offer a bulk HTTP interface for sending different messages to multiple recipients. We recommend no more than 500 contacts in each submission.

Parameters

ParameterTypeRequiredDescription
keyStringYesYour API key for authentication
titleStringNoOptional campaign title (URL-encoded)
contactsStringNoComma-separated contact numbers (max 1000). Example: '69XXXXXX,67XXXXXX'
groupidStringNoOptional group ID. If provided, overrides contacts parameter
senderidStringYesApproved sender ID (phone number)
msgStringYesURL-encoded SMS text (max 740 characters)
typeStringYesType of SMS: "text" or "mms"
mmsFileNoOptional MMS file. Max size: 2MB
timeStringNoScheduled time in format "YYYY-MM-DD H:I". Leave blank for instant SMS
time_zoneStringNoTime zone in "Country/City" format

GET Request Example

Sample GET Response

POST Request Example

Sample POST Response

API Types

Text SMS API

Flash SMS API

Unicode SMS API

Delivery Reports API

Authentication

All API requests require authentication using an API key. Include your key in the Authorization header:

API Endpoints

Calls API

Messages API

Contacts API

Webhooks

Other API Endpoints