Skip to main content
POST
Creates one sandbox or production app in your organization. You choose the environment here, and the app keeps it. See Apps & Environments.

Headers

string
required
Bearer sk_workspace_..., a Workspace API key of the organization to create the app in. See Workspace API.
string
default:"application/json"
required
Must be application/json.
string
A unique key for this request, up to 255 characters. If you retry with the same key and the same body within 24 hours, you get the stored response with Idempotency-Replayed: true, and no second app is created. See Request behavior.

Request Body

string
required
The app’s display name, 1 to 200 characters.
string
default:"production"
The kind of app to create: sandbox or production.
string
default:"blank"
Sandbox apps only. Sending mode for a production app returns 400.
  • blank: the app starts with no connections and no workflow.
  • quickstart: the app starts with every connection that supports sandbox already activated, sample company details, and a default managed workflow that enables one connection per display group.
object
Production apps only. Creates the app’s default workflow. Without it, a production app starts with no workflow. Sending workflow for a sandbox app returns 400.The workflow has Automatically enable newly activated connections turned on, so each connection you activate later is enabled in it. It does not activate any connection.workflow accepts only type and claims. Any other key returns 400.

Response

201 Created. The Location header holds the new app’s path, /connect/v2/apps/{appId}, which you can read with Get App.
string
required
The app ID. It is also the app’s OIDC client_id and its Basic-auth username on the verification API. Read environment to tell sandbox and production apps apart; do not infer it from the ID.
string
required
sandbox or production.
string
required
The app’s display name.
string
required
When the app was created, as an ISO 8601 timestamp in UTC.
The App Secret is not returned. Copy it from the Console under Developers → API Settings.

Errors

Besides the authentication and subscription errors that every route can return (see Workspace API), this endpoint returns: