Creates a new project under the organization. The number of projects is limited by the organization’s plan. Requires an organization admin API key (ASA_ prefix).
curl --request POST \
--url https://api.autosend.com/v1/account/projects \
--header 'Authorization: Bearer ASA_your-admin-api-key' \
--header 'Content-Type: application/json' \
--data '{
"name": "My New Project"
}'
{
"success": true,
"data": {
"id": "60d5ec49f1b2c72d9c8b1234",
"name": "My New Project",
"domain": null,
"domains": [],
"industry": null,
"logo": null,
"address": null,
"trackingOpen": false,
"trackingClick": false
}
}
ASA_ prefix). Standard project API keys cannot access this endpoint.curl --request POST \
--url https://api.autosend.com/v1/account/projects \
--header 'Authorization: Bearer ASA_your-admin-api-key' \
--header 'Content-Type: application/json' \
--data '{
"name": "My New Project"
}'
{
"success": true,
"data": {
"id": "60d5ec49f1b2c72d9c8b1234",
"name": "My New Project",
"domain": null,
"domains": [],
"industry": null,
"logo": null,
"address": null,
"trackingOpen": false,
"trackingClick": false
}
}
ASA_<key>. Standard project API keys (AS_ prefix) will receive a 403 error.100Example: "My New Project"trueShow child attributes
"60d5ec49f1b2c72d9c8b1234""My New Project"falsefalse{
"success": false,
"error": {
"message": "This endpoint requires an organization admin API key (ASA_ prefix)",
}
}
{
"success": false,
"error": {
"message": "Plan upgrade required"
}
}
curl --request POST \
--url https://api.autosend.com/v1/account/projects \
--header 'Authorization: Bearer ASA_your-admin-api-key' \
--header 'Content-Type: application/json' \
--data '{
"name": "My New Project"
}'
{
"success": true,
"data": {
"id": "60d5ec49f1b2c72d9c8b1234",
"name": "My New Project",
"domain": null,
"domains": [],
"industry": null,
"logo": null,
"address": null,
"trackingOpen": false,
"trackingClick": false
}
}