> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://apidocs.me-mate.net/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://apidocs.me-mate.net/_mcp/server.

# Send Video Service Message

POST https://business.me-mate.net/sendservicemessages/sendmessages#postSendservicemessagesSendmessages3
Content-Type: application/json

This endpoint allows you to send service messages to recipients via WhatsApp.

### Request

- Method: POST
    
- URL: `https://business.me-mate.net/sendservicemessages/sendmessages`
    
- Headers:
    
    - Content-Type: application/json
        
- Body:
    
- **to** (string) - The recipient's number.
    
- **type** (string) - The type of message, e.g., video, text, image, etc.
    
- **video** (object) - The video content to be sent, including the link and caption.
    
    - **link** (string) - The full URL of the video.
        
    - **caption** (string) - The text to be used as the caption for the video.
        
- **recipient_type** (string) - The type of recipient, e.g., individual, group, etc.
    
- **messaging_product** (string) - whatsApp
    
- **api_key** (string) - The production API key for authentication. >[How to get Your API key?](#requirements)
    

### Response

The response is in JSON format and includes the following fields:

- **messaging_product** (string) - The messaging product used for sending the message.
    
- **contacts** (array) - An array of objects containing input and wa_id for the contacts.
    
    - **input** (string) - The input provided for the contact.
        
    - **wa_id** (string) - The WhatsApp ID of the contact.
        
- **messages** (array) - An array of objects containing the ID of the sent messages.
    
    - **id** (string) - The ID of the sent message.

Reference: https://apidocs.me-mate.net/business-me-mate-net-ap-is-document-v-1-0/send-service-message-ap-is/for-production-production-env/send-video-service-message

## Request

### Body (application/json)

- `to` (string, required)
- `type` (string, required)
- `video` (object, required)
  - `link` (string, required)
  - `caption` (string, required)
- `api_key` (string, required)
- `recipient_type` (string, required)
- `messaging_product` (string, required)

## Response

### 200

OK

- `contacts` (list of object, required)
  - `input` (string, required)
  - `wa_id` (string, required)
- `messages` (list of object, required)
  - `id` (string, required)
- `messaging_product` (string, required)

## Examples

**Request**

```json
{
  "to": "recipient's number",
  "type": "video",
  "video": {
    "link": "Video full url",
    "caption": "caption Text"
  },
  "api_key": "production api_key",
  "recipient_type": "individual",
  "messaging_product": "whatsapp"
}
```

**Response**

```json
{
  "contacts": [
    {
      "input": "recipient's number",
      "wa_id": "recipient's number"
    }
  ],
  "messages": [
    {
      "id": "wamid.HBgMOTE3MzE5OTUwMzUwFQIAERgSQzQxQzIyNjFENDZBRkMxQTc5AA=="
    }
  ],
  "messaging_product": "whatsapp"
}
```

**SDK Code**

```python
import requests

url = "https://business.me-mate.net/sendservicemessages/sendmessages#postSendservicemessagesSendmessages3"

payload = {
    "to": "recipient's number",
    "type": "video",
    "video": {
        "link": "Video full url",
        "caption": "caption Text"
    },
    "api_key": "production api_key",
    "recipient_type": "individual",
    "messaging_product": "whatsapp"
}
headers = {"Content-Type": "application/json"}

response = requests.post(url, json=payload, headers=headers)

print(response.json())
```

```javascript
const url = 'https://business.me-mate.net/sendservicemessages/sendmessages#postSendservicemessagesSendmessages3';
const options = {
  method: 'POST',
  headers: {'Content-Type': 'application/json'},
  body: '{"to":"recipient\'s number","type":"video","video":{"link":"Video full url","caption":"caption Text"},"api_key":"production api_key","recipient_type":"individual","messaging_product":"whatsapp"}'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go
package main

import (
	"fmt"
	"strings"
	"net/http"
	"io"
)

func main() {

	url := "https://business.me-mate.net/sendservicemessages/sendmessages#postSendservicemessagesSendmessages3"

	payload := strings.NewReader("{\n  \"to\": \"recipient's number\",\n  \"type\": \"video\",\n  \"video\": {\n    \"link\": \"Video full url\",\n    \"caption\": \"caption Text\"\n  },\n  \"api_key\": \"production api_key\",\n  \"recipient_type\": \"individual\",\n  \"messaging_product\": \"whatsapp\"\n}")

	req, _ := http.NewRequest("POST", url, payload)

	req.Header.Add("Content-Type", "application/json")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby
require 'uri'
require 'net/http'

url = URI("https://business.me-mate.net/sendservicemessages/sendmessages#postSendservicemessagesSendmessages3")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n  \"to\": \"recipient's number\",\n  \"type\": \"video\",\n  \"video\": {\n    \"link\": \"Video full url\",\n    \"caption\": \"caption Text\"\n  },\n  \"api_key\": \"production api_key\",\n  \"recipient_type\": \"individual\",\n  \"messaging_product\": \"whatsapp\"\n}"

response = http.request(request)
puts response.read_body
```

```java
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.post("https://business.me-mate.net/sendservicemessages/sendmessages#postSendservicemessagesSendmessages3")
  .header("Content-Type", "application/json")
  .body("{\n  \"to\": \"recipient's number\",\n  \"type\": \"video\",\n  \"video\": {\n    \"link\": \"Video full url\",\n    \"caption\": \"caption Text\"\n  },\n  \"api_key\": \"production api_key\",\n  \"recipient_type\": \"individual\",\n  \"messaging_product\": \"whatsapp\"\n}")
  .asString();
```

```php
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('POST', 'https://business.me-mate.net/sendservicemessages/sendmessages#postSendservicemessagesSendmessages3', [
  'body' => '{
  "to": "recipient\'s number",
  "type": "video",
  "video": {
    "link": "Video full url",
    "caption": "caption Text"
  },
  "api_key": "production api_key",
  "recipient_type": "individual",
  "messaging_product": "whatsapp"
}',
  'headers' => [
    'Content-Type' => 'application/json',
  ],
]);

echo $response->getBody();
```

```csharp
using RestSharp;

var client = new RestClient("https://business.me-mate.net/sendservicemessages/sendmessages#postSendservicemessagesSendmessages3");
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/json");
request.AddParameter("application/json", "{\n  \"to\": \"recipient's number\",\n  \"type\": \"video\",\n  \"video\": {\n    \"link\": \"Video full url\",\n    \"caption\": \"caption Text\"\n  },\n  \"api_key\": \"production api_key\",\n  \"recipient_type\": \"individual\",\n  \"messaging_product\": \"whatsapp\"\n}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
```

```swift
import Foundation

let headers = ["Content-Type": "application/json"]
let parameters = [
  "to": "recipient's number",
  "type": "video",
  "video": [
    "link": "Video full url",
    "caption": "caption Text"
  ],
  "api_key": "production api_key",
  "recipient_type": "individual",
  "messaging_product": "whatsapp"
] as [String : Any]

let postData = JSONSerialization.data(withJSONObject: parameters, options: [])

let request = NSMutableURLRequest(url: NSURL(string: "https://business.me-mate.net/sendservicemessages/sendmessages#postSendservicemessagesSendmessages3")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "POST"
request.allHTTPHeaderFields = headers
request.httpBody = postData as Data

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```