---
updatedAt: 2026-07-30T12:33:41.000Z
agentTools:
  projectIndex: https://dev.dengage.com/llms.txt
---

# Login

Authenticate call initiates the authentication process for the client and has to be executed prior to making any other API calls.
 
Required Username and Password parameters are generated by your System Administrator through dEngage Enterprise Studio's web user interface. Please contact your System Administrator for more information.

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "x-stoplight": {
    "id": "ofccf6hmcihu3"
  },
  "info": {
    "title": "MMP Enterprise API Documentation",
    "version": "1.0",
    "description": "Enterprise Studio API is used to work with dEngage MMP Enterprise Studio. They are basically used to post messages from templates (email, sms, push) and report about these posted messages.  "
  },
  "paths": {
    "/auth/login": {
      "post": {
        "summary": "Login",
        "description": "Authenticate call initiates the authentication process for the client and has to be executed prior to making any other API calls.\n \nRequired Username and Password parameters are generated by your System Administrator through dEngage Enterprise Studio's web user interface. Please contact your System Administrator for more information.\n",
        "operationId": "login",
        "tags": [
          "0. Authorization"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "username",
                  "password"
                ],
                "properties": {
                  "username": {
                    "type": "string",
                    "description": "a valid username for the API user"
                  },
                  "password": {
                    "type": "string",
                    "description": "a valid password of the API user"
                  }
                }
              }
            }
          },
          "description": "**username** and **password** parameters are generated by your system administrator through dEngage Enterprise Studio's web user interface. Please contact your System Administrator for more information.",
          "x-examples": {
            "application/json": {
              "username": "api_user_name",
              "password": "api_user_password"
            }
          }
        },
        "responses": {
          "200": {
            "description": "Returns JWT **access_token**. This token must be used in all authorization headers in API calls.",
            "content": {
              "*/*": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "username": {
                      "type": "string",
                      "description": "a valid userkey of the api user"
                    },
                    "password": {
                      "type": "string",
                      "description": "a valid password of the api user"
                    },
                    "token": {
                      "type": "string",
                      "description": "a valid token for this session"
                    },
                    "expires": {
                      "type": "string",
                      "description": "expire time for the token"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "When an invalid **username** or **password** parameter are input, **Login**  returns 400 Bad Request as a response.",
            "content": {
              "*/*": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string",
                      "description": "related error message"
                    }
                  }
                }
              }
            }
          },
          "422": {
            "description": "An unexpected error occured during request. Please check **message** field.",
            "content": {
              "*/*": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string",
                      "description": "related error message"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "tags": [
    {
      "name": "0. Authorization"
    }
  ],
  "servers": [
    {
      "url": "http://mmpeapi.dengage.com"
    },
    {
      "url": "https://mmpeapi.dengage.com"
    }
  ],
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  }
}
```