Skip to main content
GET
/
account
/
projects
curl --request GET \
  --url https://api.autosend.com/v1/account/projects \
  --header 'Authorization: Bearer ASA_your-admin-api-key'
{
  "success": true,
  "data": {
    "projects": [
      {
        "id": "60d5ec49f1b2c72d9c8b1234",
        "name": "Production App",
        "domain": "example.com",
        "domains": [
          {
            "id": "60d5ec49f1b2c72d9c8b5678",
            "domain": "example.com",
            "verificationStatus": "VERIFIED"
          }
        ],
        "industry": "saas",
        "logo": null,
        "address": null,
        "trackingOpen": true,
        "trackingClick": true
      },
      {
        "id": "60d5ec49f1b2c72d9c8b7890",
        "name": "Staging App",
        "domain": null,
        "domains": [],
        "industry": null,
        "logo": null,
        "address": null,
        "trackingOpen": false,
        "trackingClick": false
      }
    ]
  }
}
This endpoint requires an organization admin API key (ASA_ prefix). Standard project API keys cannot access this endpoint.
curl --request GET \
  --url https://api.autosend.com/v1/account/projects \
  --header 'Authorization: Bearer ASA_your-admin-api-key'
{
  "success": true,
  "data": {
    "projects": [
      {
        "id": "60d5ec49f1b2c72d9c8b1234",
        "name": "Production App",
        "domain": "example.com",
        "domains": [
          {
            "id": "60d5ec49f1b2c72d9c8b5678",
            "domain": "example.com",
            "verificationStatus": "VERIFIED"
          }
        ],
        "industry": "saas",
        "logo": null,
        "address": null,
        "trackingOpen": true,
        "trackingClick": true
      },
      {
        "id": "60d5ec49f1b2c72d9c8b7890",
        "name": "Staging App",
        "domain": null,
        "domains": [],
        "industry": null,
        "logo": null,
        "address": null,
        "trackingOpen": false,
        "trackingClick": false
      }
    ]
  }
}

Authorizations

Authorizations
string | header
required
Organization admin API key header of the form Bearer ASA_<key>. Standard project API keys (AS_ prefix) will receive a 403 error.

Response

Projects retrieved successfully
success
boolean
Indicates if the request was successfulExample: true
data
object

Error Responses

403 - Not an admin key
object
Returned when using a standard project API key instead of an organization admin API key.
{
 "success": false,
 "error":{
   "message":"This endpoint requires an organization admin API key (ASA_ prefix)"
 }
}