Skip to content

Meeting Type routes: publish

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

Reference for Meeting Type, one group of Meeting Type routes.

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.

Text
POST /{namespace}/meeting-types/{meetingType}/publish

Path: meetingType. Emits MeetingType.published.

Inputs

InputTypeRequiredDescription
meetingTypeMeeting TyperequiredThe Meeting Type to publish.

Returns

OutputTypeRequiredDescription
meetingTypeMeeting TyperequiredThe Meeting Type, with its booking link in url.

Refuses when

CheckErrorFixThen call
The key is valid, but its scopes do not allow this operation.forbiddenUse a key whose scopes cover the operation, or ask an owner of the namespace to grant them.None.

Example

Terminal
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"
  }
}