---
updatedAt: 2025-02-12T22:18:57.000Z
agentTools:
  projectIndex: https://developers.melroselabs.com/llms.txt
---

# Set VMN callback URL

Set the vallback URL for a VMN

# OpenAPI definition

```json
{
  "openapi": "3.0.1",
  "info": {
    "title": "SMS API",
    "description": "The REST SMS API is used for sending, receiving and managing SMS between application and mobile devices. Phonebooks and distribution lists are also available. All dates/timestamps are in <a href=\"http://en.wikipedia.org/wiki/ISO_8601\">ISO 8601</a> format. API keys for including as the x-api-key header in requests can be obtained at <a href=\"https://melroselabs.com\">https://melroselabs.com</a>. This SMS API can be used in conjunction with the <a href=\"https://melroselabs.com/services/tyr-sms-gateway/\">Tyr SMS Gateway</a> and the <a href=\"https://melroselabs.com/services/smpp-sms-gateway/\">SMPP SMS Gateway</a> from Melrose Labs.",
    "contact": {
      "name": "Melrose Labs - Technical Support",
      "email": "support@melroselabs.com"
    },
    "version": "2019-07-27T08:49:36Z"
  },
  "servers": [
    {
      "url": "https://api.melroselabs.com/{basePath}",
      "variables": {
        "basePath": {
          "default": "/sms"
        }
      }
    }
  ],
  "paths": {
    "/vmn/callbackurl": {
      "post": {
        "tags": [
          "VMNs"
        ],
        "summary": "Set VMN callback URL",
        "description": "Set the vallback URL for a VMN",
        "responses": {
          "200": {
            "description": "Successful allocation of VMN",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Empty"
                }
              }
            }
          }
        },
        "security": [
          {
            "api_key": []
          }
        ]
      }
    }
  },
  "components": {
    "schemas": {
      "Empty": {
        "title": "Empty Schema",
        "type": "object"
      }
    },
    "securitySchemes": {
      "api_key": {
        "type": "apiKey",
        "name": "x-api-key",
        "in": "header"
      }
    }
  },
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  }
}
```