Enable MM Lite messages

Use this API to enable MM-lite messaging for a live app that has already been onboarded for mm-lite.

Request Parameters

Key

Description

Value

Data type

Required/Optional

Constraints

Authorization

Access Token for the application

{{PARTNER_APP_TOKEN}}

String

Required

S/hould be a valid Partner App Access Token.

appId

App ID to fetch the access token

{{APP_ID}}

String

Required

  • The Id should be a valid app Id of Gupshup.
  • The App must be associated with the account that owns the PARTNER_APP_TOKEN being used.

Sample Request

curl --location --request POST 'https://partner.gupshup.io/partner/app/:appId/mmlite/msg/enable' \
--header 'Accept: application/json' \
--header 'Authorization: <PARTNER_APP_TOKEN>'

Sample Response

{
	"status": "success"
}

Status Codes

Status Code

Response

Comments

Success

200

{

"status": "success"}

Error

400

{

"status": "error","message": "MM lite is not enabled for this app"}

401

{

"status":"error","message":"Unauthorised access to the resource. Please review request parameters and headers and retry"}

Language
Credentials
Bearer
JWT
Click Try It! to start a request and see the response here!