v1

latestOpenAPI 3.0.0Proprietary2026-07-26316155742.7 KB
Spaces

Create a Space

Create a new Space.

post/accounts/{account_id}/spaces

Path parameters

account_idstring required

Account ID

Headers

X-PhraseApp-OTPstring

Two-Factor-Authentication token (optional)

Request body

namestring required

Name of the space

Example request

{
  "name": "My Android Projects"
}

Response

Created

idstring
namestring
created_atstring date-time
updated_atstring date-time
projects_countinteger

Example response

{
  "id": "2e7574e8f2372906a03110c2a7cfe671",
  "name": "My first space",
  "created_at": "2020-02-25T12:17:25Z",
  "updated_at": "2020-03-13T14:46:57Z",
  "projects_count": 2,
  "projects": [
    {
      "id": "abcd1234cdef1234abcd1234cdef1234",
      "name": "My Android Project",
      "main_format": "xml",
      "project_image_url": "http://assets.example.com/project.png",
      "account": "account",
      "created_at": "2015-01-28T09:52:53Z",
      "updated_at": "2015-01-28T09:52:53Z"
    },
    {
      "id": "abcd11231fadef1234adacd1234cdef1234",
      "name": "My IOS Project",
      "main_format": "yml",
      "project_image_url": "http://assets.example.com/project2.png",
      "account": "account",
      "created_at": "2015-01-28T09:52:53Z",
      "updated_at": "2015-01-28T09:52:53Z"
    }
  ]
}