# Meeting Type routes: publish

URL: /code/api/meeting-type/verbs · Id: `page:code/api/meeting-type/verbs`

> The Meeting Type Verbs publish as api.sb routes, with inputs, result, refusals and an example.

Reference for [Meeting Type](/business/nouns/meeting-type), one group of [Meeting Type routes](/code/api/meeting-type).

### MeetingType.publish
Publish puts a Meeting Type’s booking link live on the Startup’s Domain, where each pick books a Meeting into its Availability. [Verb page](/business/nouns/meeting-type/publish?interface=api).

```text
POST /{namespace}/meeting-types/{meetingType}/publish
```

Path: `meetingType`. Emits [`MeetingType.published`](/business/events/MeetingType.published).

**Inputs**

| Input | Type | Required | Description |
| --- | --- | --- | --- |
| `meetingType` | [Meeting Type](/business/nouns/meeting-type) | Yes | The Meeting Type to publish. |

**Returns**

| Output | Type | Required | Description |
| --- | --- | --- | --- |
| `meetingType` | [Meeting Type](/business/nouns/meeting-type) | Yes | The Meeting Type, with its booking link in `url`. |

**Refuses when**

| Check | Error | Fix | Then call |
| --- | --- | --- | --- |
| The key is valid, but its scopes do not allow this operation. | [`forbidden`](/code/api/errors/forbidden) | Use a key whose scopes cover the operation, or ask an owner of the namespace to grant them. | None. |

**Example**

```bash
curl -X POST https://api.sb/leaseline.app/meeting-types/mtgtype_qw2d5yGLVN/publish \
  -H "Authorization: Bearer $STARTUP_BUILDER_API_KEY"
```

```json
{
  "api": "https://api.sb/leaseline.app",
  "meetingType": {
    "$id": "https://api.sb/leaseline.app/meeting-types/mtgtype_qw2d5yGLVN",
    "$type": "MeetingType",
    "name": "Problem interview",
    "duration": 20,
    "medium": "video",
    "availability": "availability_8Zj0a7vvRl"
  },
  "action": {
    "$id": "https://api.sb/leaseline.app/actions/act_br07HsG8MG",
    "operation": "MeetingType.publish",
    "status": "done"
  },
  "links": {
    "self": "https://api.sb/leaseline.app/actions/act_br07HsG8MG"
  }
}
```