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

# Register V4

POST https://api.milescaira.com/v7/registerV4/

Reference: https://one.miles-api.com/api-reference/engagement/event/register-v-4-v-7-register-v-4-post

## Servers

- `https://api.milescaira.com` (Production, default)
- `https://miles-usp-backend-uat-2-154625965269.asia-south1.run.app` (UAT)
- `http://localhost:8080` (Local)

## Request

### Query parameters

- `webinar_id` (integer, optional, nullable)
- `event_type` (string, optional, default: webinar)
- `webinar_date_id` (integer, optional, nullable)

### Headers

- `authorization` (string, optional, nullable)

## Response

### 202

Successful Response

- `any`

## Errors

### 422 Unprocessable Entity Error

Validation Error

- `detail` (list of ValidationError, optional)

## Types

### ValidationError

- `loc` (list of ValidationErrorLocItems, required)
- `msg` (string, required)
- `type` (string, required)
- `input` (any, optional)
- `ctx` (ValidationErrorCtx, optional)

### ValidationErrorLocItems

### ValidationErrorCtx

## Examples

**SDK Code**

```python
import requests

url = "https://api.milescaira.com/v7/registerV4/"

response = requests.post(url)

print(response.json())
```

```go
package main

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

func main() {

	url := "https://api.milescaira.com/v7/registerV4/"

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

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

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

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

}
```

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

HttpResponse<String> response = Unirest.post("https://api.milescaira.com/v7/registerV4/")
  .asString();
```