appgram / docs
Dashboard

API REFERENCE

Releases

Access release recipients and send a release demonstration.

v1.0

Releases

Preview release email recipients

Returns the list of subscribers who would receive this release email based on audience_tags. Call before publishing to see who will be notified.

Required API key scope: releases:view.

GET/api/v1/releases/{id}/recipients

Authorizations

x-api-key (header)required

Request examples show the credential location. Use a server-side key with the permissions required by this operation.

Path parameters

idstringpathrequired

Responses

200

OK

400

Bad Request

401

Unauthorized

403

Forbidden

404

Not Found

GET /api/v1/releases/{id}/recipients
curl --request GET \
  --url 'https://api.appgram.dev/api/v1/releases/{id}/recipients' \
  --header 'x-api-key: <api-key>'
Response · 200
{
  "data": {
    "audience_tags": [
      "string"
    ],
    "email_quota": {
      "limit": 0,
      "over_limit": true,
      "plan": "string",
      "remaining": 0,
      "used": 0
    },
    "notify_channels": [
      "string"
    ],
    "recipients": [
      {
        "created_at": "1970-01-01T00:00:00.000Z",
        "email": "string",
        "id": "string",
        "last_notified_at": "1970-01-01T00:00:00.000Z",
        "name": "string",
        "tags": []
      }
    ],
    "total": 0
  },
  "success": true
}

Releases

Send a preview release email

Sends a preview of the release announcement email to the requesting user's inbox before publishing to subscribers

Required API key scope: releases:manage.

POST/api/v1/releases/{id}/send-demo

Authorizations

x-api-key (header)required

Request examples show the credential location. Use a server-side key with the permissions required by this operation.

Path parameters

idstringpathrequired

Responses

200

OK

400

Bad Request

401

Unauthorized

403

Forbidden

404

Not Found

POST /api/v1/releases/{id}/send-demo
curl --request POST \
  --url 'https://api.appgram.dev/api/v1/releases/{id}/send-demo' \
  --header 'x-api-key: <api-key>'
Response · 200
{
  "data": {
    "message": "string"
  },
  "success": true
}
—