POST
/
projects
curl --request POST \
--url https://api.beyondwords.io/v1/projects \
--header 'Content-Type: application/json' \
--header 'X-Api-Key: <api-key>' \
--data '{
"name": "My project",
"language": "en_US"
}'
{
  "id": 1,
  "name": "My project",
  "language": "en_US",
  "auto_publish_enabled": true,
  "avatar_url": "https://example.com/avatar.jpg",
  "environment": "production",
  "created": "2022-01-02 23:59:59 UTC",
  "updated": "2022-03-04 00:00:00 UTC"
}

Authorizations

X-Api-Key
string
header
required

Body

application/json
name
string
required

The project name

language
object
required
title
object
summary
object
body
object
background_track
object | null
auto_publish_enabled
boolean

When true, automatically distribute content once generated (default is true)

auto_video_published_enabled
boolean

When true, automatically distribute video content once generated (default is true)

avatar_url
string<uri>

The project's avatar URL

Maximum length: 2048
time_zone
string

The project time zone (IANA time zone name)

environment
enum<string> | null
Available options:
production,
staging

Response

200 - application/json

successful

id
integer

Unique identifier for the object

name
string

The project name

language
string

The default language of the project (ISO 639-1 code with optional region, e.g., en_GB)

language_data
object

Additional language metadata for the project

environment
enum<string> | null
Available options:
production,
staging
content_total_count
integer
content_updated
string<date-time> | null
title
object
summary
object | null
body
object
background_track
object | null
auto_publish_enabled
boolean

When true, automatically distribute content once generated (default is true)

auto_video_published_enabled
boolean

When true, automatically distribute video content once generated (default is true)

time_zone
string

The project time zone (IANA time zone name)

avatar_url
string<uri> | null

The project's avatar URL

Maximum length: 2048
created
string<date-time>

Time at which the object was created (ISO 8601)

updated
string<date-time>

Time at which the object was updated (ISO 8601)