Skip to content
WP Engine |Headless Platform

Create a new Headless Platform application on your account

POST
/v1/accounts/{account}/apps
account
required
string

Name of your WP Engine Headless Platform account

appId
string

Headless Platform application name, should be unique for entire account

Details of the application you want to create

App

App represents a Headless Platform application with source code coming from a specified repository.

object
appId
App ID
string
createTime
Timestamp - app created

Timestamp of when the Headless Platform application was created.

string format: date-time
name
App name

Name of your Headless Platform application. Will be generated if not specified.

string
region
App hosting region

Region where the App is going to be deployed. Format: region/{region} Values: regions/EU-W - Europe West regions/UK - United Kingdom regions/US-C - DisplayName regions/AUS-SE - Australia Southeast

string
repository

Source code repository data.

object
displayName

The display name of the repository in format of {owner}/{repo}.

string
name
required
Name of repository

For zip upload it should be provider/uploadable

string
provider
Git provider

Git repository hosting service used by the application

  • PROVIDER_UNSPECIFIED:
  • GITHUB:
  • GITLAB:
  • BITBUCKET:
  • UPLOADABLE:
string
default: PROVIDER_UNSPECIFIED
Allowed values: PROVIDER_UNSPECIFIED GITHUB GITLAB BITBUCKET UPLOADABLE

A successful response.

App

App represents a Headless Platform application with source code coming from a specified repository.

object
appId
App ID
string
createTime
Timestamp - app created

Timestamp of when the Headless Platform application was created.

string format: date-time
name
App name

Name of your Headless Platform application. Will be generated if not specified.

string
region
App hosting region

Region where the App is going to be deployed. Format: region/{region} Values: regions/EU-W - Europe West regions/UK - United Kingdom regions/US-C - DisplayName regions/AUS-SE - Australia Southeast

string
repository

Source code repository data.

object
displayName

The display name of the repository in format of {owner}/{repo}.

string
name
required
Name of repository

For zip upload it should be provider/uploadable

string
provider
Git provider

Git repository hosting service used by the application

  • PROVIDER_UNSPECIFIED:
  • GITHUB:
  • GITLAB:
  • BITBUCKET:
  • UPLOADABLE:
string
default: PROVIDER_UNSPECIFIED
Allowed values: PROVIDER_UNSPECIFIED GITHUB GITLAB BITBUCKET UPLOADABLE