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
}
}
}
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
}
}
}
The newly created project
The response is of type object
.