POST
/v2/appsCreate a New App
Create a new app by submitting an app specification. For documentation on app specifications (AppSpec objects), please refer to the product documentation.
- IdempotentThe SDK sends
Idempotency-Key, so a retried request is only applied once.
Acceptstringoptional
The content-type that should be used by the response. By default, the response will be `application/json`. `application/yaml` is also supported.
Content-Typestringoptional
The content-type used for the request. By default, the requests are assumed to use `application/json`. `application/yaml` is also supported.
specobjectrequired
The desired configuration of an application.
project_idstringoptional
The ID of the project the app should be assigned to. If omitted, it will be assigned to your default project.
<br><br>Requires `project:assign_resource` and `project:update` scopes.
200A JSON or YAML of a `spec` object.
appobjectoptional
An application's configuration and status.
401Authentication failed due to invalid credentials.
idstringrequired
A short identifier corresponding to the HTTP status code returned. For example, the ID for a response returning a 404 status code would be "not_found."
messagestringrequired
A message providing additional information about the error, including details to help resolve it when possible.
request_idstringoptional
Optionally, some endpoints may include a request ID that should be provided when reporting bugs or opening support tickets to help identify the issue.
429The API rate limit has been exceeded.
idstringrequired
A short identifier corresponding to the HTTP status code returned. For example, the ID for a response returning a 404 status code would be "not_found."
messagestringrequired
A message providing additional information about the error, including details to help resolve it when possible.
request_idstringoptional
Optionally, some endpoints may include a request ID that should be provided when reporting bugs or opening support tickets to help identify the issue.
500There was a server error.
idstringrequired
A short identifier corresponding to the HTTP status code returned. For example, the ID for a response returning a 404 status code would be "not_found."
messagestringrequired
A message providing additional information about the error, including details to help resolve it when possible.
request_idstringoptional
Optionally, some endpoints may include a request ID that should be provided when reporting bugs or opening support tickets to help identify the issue.
defaultThere was an unexpected error.
idstringrequired
A short identifier corresponding to the HTTP status code returned. For example, the ID for a response returning a 404 status code would be "not_found."
messagestringrequired
A message providing additional information about the error, including details to help resolve it when possible.
request_idstringoptional
Optionally, some endpoints may include a request ID that should be provided when reporting bugs or opening support tickets to help identify the issue.
Error handling
A 401 is returned: Authentication failed due to invalid credentials. A 429 is returned: The API rate limit has been exceeded. A 500 is returned: There was a server error. Any other status is an error: There was an unexpected error.