Skip to main content
POST
/
projects
Create a new project
curl --request POST \
  --url https://api.withampersand.com/v1/projects \
  --header 'Content-Type: application/json' \
  --header 'X-Api-Key: <api-key>' \
  --data '{
  "appName": "MailMonkey",
  "name": "mailmonkey-staging",
  "orgId": "9f7c3e2a-61b8-4f5c-8d1a-eb24f3b05d79"
}'
{
  "id": "my-project",
  "name": "mailmonkey-staging",
  "appName": "MailMonkey",
  "orgId": "9f7c3e2a-61b8-4f5c-8d1a-eb24f3b05d79",
  "createTime": "2023-11-07T05:31:56Z",
  "updateTime": "2023-11-07T05:31:56Z",
  "entitlements": {
    "brandingRemoval": {
      "value": true
    }
  }
}

Authorizations

X-Api-Key
string
header
required

Body

application/json
appName
string
required

The app name.

Example:

"MailMonkey"

name
string
required

The project name. Must be alphanumerics and hyphens only. Project names will be save in lowercase.

Example:

"mailmonkey-staging"

orgId
string
required

The organization ID.

Example:

"9f7c3e2a-61b8-4f5c-8d1a-eb24f3b05d79"

Response

The newly created project

id
string
required

The project ID.

Example:

"my-project"

name
string
required

The project name.

Example:

"mailmonkey-staging"

appName
string
required

The name of the application, which is displayed to end users.

Example:

"MailMonkey"

createTime
string<date-time>
required

The time the project was created.

orgId
string

The organization ID that this project belongs to.

Example:

"9f7c3e2a-61b8-4f5c-8d1a-eb24f3b05d79"

updateTime
string<date-time>

The time the project was updated.

entitlements
object

The entitlements for the project.