v1

latestOpenAPI 3.0.22026-07-146168117.0 KB
Spaces

This endpoint creates a space. Please note that this feature is exclusively available as part of the Business API.

post/spaces

Request body

idstring uuid

The unique identifier of the space.

namestring

The name of the space.

created_atstring date-time

A formatted date-time string in your account timezone indicating the time the space was created.

updated_atstring date-time

A formatted date-time string in your account timezone indicating the time the space was last updated.

account_timezonestring

The timezone of your account.

created_at_utcstring date-time

A formatted date-time string in UTC timezone indicating the time the space was created.

updated_at_utcstring date-time

A formatted date-time string in UTC timezone indicating the time the space was last updated.

Example request

{
  "name": "My Space",
  "created_at": "2016-08-25T21:10:29Z",
  "updated_at": "2016-08-25T21:10:29Z",
  "account_timezone": "America/Los_Angeles",
  "created_at_utc": "2016-08-25T21:10:29Z",
  "updated_at_utc": "2016-08-25T21:10:29Z"
}

Response

Successfully created a space with the provided values

status'ok'

Example response

{
  "results": {
    "space": {
      "name": "My Space",
      "created_at": "2016-08-25T21:10:29Z",
      "updated_at": "2016-08-25T21:10:29Z",
      "account_timezone": "America/Los_Angeles",
      "created_at_utc": "2016-08-25T21:10:29Z",
      "updated_at_utc": "2016-08-25T21:10:29Z"
    }
  }
}