PostZen
Profiles

List profiles

GET
/v1/profiles

Returns profiles available to the API key, sorted by creation date (oldest first). Read-only and read-write API keys are accepted.

Authorization

bearerAuth
AuthorizationBearer <token>

PostZen API key.

In: header

Response Body

application/json

application/json

application/json

curl -X GET "https://example.com/v1/profiles"
{  "profiles": [    {      "_id": "jh72r5nqk9wx3v8m1t4cz6bs0fy5dg3e",      "userId": "jd7cm2xw9krt4v1n8q6zs0b3hf5yg2pa",      "name": "Marketing Team",      "description": "Profile for marketing campaigns",      "color": "#4caf50",      "isDefault": false,      "createdAt": "2026-06-13T16:00:00.000Z"    }  ]}
{  "error": "Unauthorized"}
{  "error": "Failed to list profiles"}