> 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.

# Past Webinar Bookings

GET https://api.milescaira.com/v7/chatbot/past_webinar_bookings/

Past webinars the user registered for (≤10).

Reference: https://one.miles-api.com/api-reference/engagement/chatbot/past-webinar-bookings-v-7-chatbot-past-webinar-bookings-get

## Servers

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

## Response

### 200

Successful Response

- `list of PastWebinarOut`

## Types

### PastWebinarOut

A past webinar the user attended/registered for + their registration.

- `webinar_uuid` (string, required)
- `webinar_type` (string, optional, nullable)
- `speaker` (list of WebinarSpeakerOut, optional)
- `webinar_name` (string, optional, nullable)
- `date` (string, optional, nullable)
- `time` (string, optional, nullable)
- `date_time` (datetime, optional, nullable)
- `duration` (string, optional, nullable)
- `course_id` (integer, optional, nullable)
- `my_registration` (list of PastRegistrationOut, optional)

### WebinarSpeakerOut

Speaker mini-card attached to a webinar.

- `name` (string, optional, nullable)
- `designation` (string, optional, nullable)
- `about` (string, optional, nullable)

### PastRegistrationOut

The current user's registration for a past webinar.

- `booking_id` (string, required)
- `attended_status` (string, optional, nullable)
- `details` (list of BookingDetailMiniOut, optional)

### BookingDetailMiniOut

Latest booking-detail mini-card for a registration.

- `booking_details_id` (string, required)
- `booking_url` (string, optional, nullable)

## Examples

**Response**

```json
[
  {
    "webinar_uuid": "string",
    "webinar_type": "string",
    "speaker": [
      {
        "name": "string",
        "designation": "string",
        "about": "string"
      }
    ],
    "webinar_name": "string",
    "date": "string",
    "time": "string",
    "date_time": "2024-01-15T09:30:00Z",
    "duration": "string",
    "course_id": 1,
    "my_registration": [
      {
        "booking_id": "string",
        "attended_status": "string",
        "details": [
          {
            "booking_details_id": "string",
            "booking_url": "string"
          }
        ]
      }
    ]
  }
]
```

**SDK Code**

```python
import requests

url = "https://api.milescaira.com/v7/chatbot/past_webinar_bookings/"

response = requests.get(url)

print(response.json())
```

```go
package main

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

func main() {

	url := "https://api.milescaira.com/v7/chatbot/past_webinar_bookings/"

	req, _ := http.NewRequest("GET", 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.get("https://api.milescaira.com/v7/chatbot/past_webinar_bookings/")
  .asString();
```