API reference
Everything you can do in the BeastView dashboard can be automated over HTTPS: create applications, configure them, run builds, download signed APK and AAB files and send push notifications. Organizations on a plan with the Partner API get a second set of endpoints for platforms that create apps for their own customers, without those customers ever opening BeastView.
Overview
| Base URL | https://beastview.ecombeast.space/api |
| Format | JSON in, JSON out. Send Accept: application/json and, with a body, Content-Type: application/json. Image uploads use multipart/form-data. |
| Authentication | Bearer token, scoped to one organization. |
| Core API | Applications, configuration, builds, artifacts, notifications, devices. Every plan. |
| Partner API | /partner/*: customers, app creation for a customer, images, Firebase, signing, webhooks. Plans with the Partner API only. |
curl https://beastview.ecombeast.space/api/applications \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Accept: application/json"
Authentication
Create a token under Settings → API tokens in the dashboard. Only organization owners and admins can create tokens, an organization can hold up to 20, and each one can expire after 30, 90 or 365 days or never. The token is shown once; keep it on your server, never in a browser or a mobile app.
Authorization: Bearer 12|kD3m9...
- A token belongs to one organization. Anything that belongs to another organization answers
404, even if the token's user is a member there too. - A token acts as the user who created it. Its actions appear in the organization's audit log as API actions by that user. If that user leaves the organization, the token stops working (
403). - Suspended accounts and suspended organizations are refused with
403.
Token abilities
| Access chosen in the dashboard | Abilities | Can call |
|---|---|---|
| Read only | read | Every GET endpoint of the Core API. |
| Read and write | read, write | The whole Core API. |
| Partner | read, write, partner | The whole Core API and /partner/*. Offered only when the organization's plan includes the Partner API. |
The plan is checked on every request, not only when the token is created: if the organization moves to a plan without the Partner API, /partner/* answers 403 partner_plan_required straight away, webhooks stop, and the Core API keeps working.
Errors
Errors are JSON with a human-readable message that is safe to show to your users. Most also carry a stable code; validation errors list every field.
{
"message": "The website url field is required.",
"errors": {
"website_url": ["The website url field is required."]
}
}
| Status | code | Meaning |
|---|---|---|
401 | — | Missing, invalid or expired token. |
403 | — | The token lacks the ability, the user or organization is suspended, the user is no longer a member, or the action is not allowed on this object (for example changing a disabled app). |
403 | partner_plan_required | The organization's plan does not include the Partner API. |
404 | device_not_found (devices only) | The object does not exist, or belongs to another organization. |
409 | build_not_allowed | A build cannot start: the app is disabled, maintenance is on, the organization is suspended, or the concurrent build limit is reached. |
409 | push_not_configured | Push notifications need the app's Firebase files first. |
409 | build_not_cancellable, customer_has_applications, signing_key_missing | Partner API conflicts, described with each endpoint. |
410 | — | An artifact file has expired and was deleted. |
422 | — | Validation failed; see errors. Addresses that are not public websites are refused here too. |
429 | quota_exceeded | A plan quota is used up. The body adds metric and limit. |
429 | — | Rate limit reached. Wait for the number of seconds in Retry-After. |
503 | maintenance | BeastView is in maintenance; new apps and builds are paused. |
HTTP/1.1 429 Too Many Requests
{
"message": "You have used all 20000 builds included this month. The allowance resets on the 1st.",
"code": "quota_exceeded",
"metric": "builds",
"limit": 20000
}
Rate limits
Limits are counted per token, so one integration cannot slow down another. Responses carry X-RateLimit-Limit and X-RateLimit-Remaining; a refused request carries Retry-After.
| Bucket | Endpoints | Standard token | Partner token |
|---|---|---|---|
| General | Every authenticated request | 120 / minute | 600 / minute |
| Heavy | Start a build, send a notification, create a customer application, upload an image | 10 / minute | 60 / minute |
| Device tagging | PUT /applications/{id}/devices/{device_id} | 600 / minute | 600 / minute |
| Website analysis | POST /partner/analyze | — | 30 / minute |
Plan quotas are separate from rate limits: applications, builds per month, artifact storage, notifications per month and concurrent builds. Read them with GET /partner/usage.
Pagination
List endpoints take page and per_page (1–100, default 25; build logs allow up to 500) and return the items in data with links and meta:
{
"data": [ ... ],
"links": { "first": "https://beastview.ecombeast.space/api/partner/customers?page=1", "last": "...?page=4", "prev": null, "next": "...?page=2" },
"meta": { "current_page": 1, "from": 1, "last_page": 4, "path": "https://beastview.ecombeast.space/api/partner/customers", "per_page": 25, "to": 25, "total": 92 }
}
Lists are newest first unless stated otherwise.
Conventions
- Identifiers are 26-character lowercase strings (ULIDs), such as
01jbx4q3m8v2c7d9e5f6g7h8j9. Numeric ids never appear in the API. - Dates are ISO 8601 with a time zone, such as
2026-10-24T14:05:09+00:00. - Colours are
#RRGGBB; they are returned in upper case. - Addresses you send (websites, images, webhooks) must be public: local, private and internal addresses are refused, only ports 80 and 443 are allowed, and every redirect is checked again.
- Fields may be added to responses at any time. Ignore fields you do not know rather than failing on them.
Applications
An application is one website turned into one Android app. Its configuration is a working copy: every build takes a snapshot of it, so earlier builds keep the settings they were made with.
{
"id": "01jbx4q3m8v2c7d9e5f6g7h8j9",
"name": "Store One",
"description": "The Store One shopping app",
"website_url": "https://shop.store-one.com/",
"package_name": "com.store_one.shop",
"status": "active", // draft | active | disabled
"disabled_reason": null,
"config_version": 3, // the last snapshot taken by a build
"builds_count": 3,
"customer": { "id": "01jbx4p9...", "external_id": "store_123" }, // Partner API apps, else null
"config": { ... }, // single-object responses only
"latest_build": { ... }, // a build object, when there is one
"created_at": "2026-10-24T14:05:09+00:00",
"updated_at": "2026-10-24T14:07:51+00:00"
}
GET
/applications
latest_build.| Parameter | Type | Description |
|---|---|---|
per_page |
integer · query | 1–100, default 25. |
POST
/applications
config.| Parameter | Type | Description |
|---|---|---|
website_url required |
string | Public http(s) address of the site; it becomes webview.start_url. |
name |
string | 2–30 characters. Defaults to the domain's first label, capitalised. |
package_name |
string | Android application id such as com.yourcompany.shop. Unique across BeastView and permanent once published. Suggested from the domain when left out. |
description |
string | Up to 200 characters, for your own reference. |
config |
object | Any part of the configuration object to override. Images cannot be set here. |
Request
curl -X POST https://beastview.ecombeast.space/api/applications \
-H "Authorization: Bearer YOUR_TOKEN" -H "Accept: application/json" -H "Content-Type: application/json" \
-d '{
"website_url": "https://shop.store-one.com",
"name": "Store One",
"config": { "brand": { "primary_color": "#0A7CFF" }, "webview": { "orientation": "portrait" } }
}'
Errors
422— invalid fields, a package name in use, or a website address that is not public.429 quota_exceeded— the plan's application limit is reached.503 maintenance.
GET
/applications/{id}
config and latest_build.
PATCH
/applications/{id}
config is merged into the current configuration: send only what changes. Lists (allowed domains, navigation items, deep link hosts) are replaced whole. Changes apply to the next build.| Parameter | Type | Description |
|---|---|---|
description |
string | Up to 200 characters, or null. |
config |
object | Partial configuration. |
Request
curl -X PATCH https://beastview.ecombeast.space/api/applications/APP_ID \
-H "Authorization: Bearer YOUR_TOKEN" -H "Accept: application/json" -H "Content-Type: application/json" \
-d '{ "config": { "advanced": { "push_notifications": { "enabled": true } } } }'
Errors
403— the application is disabled; resume it first.422— the merged configuration is invalid.
DELETE
/applications/{id}
Configuration object
This is the contract between the API, the dashboard and the Android template. Every key is always present in responses; send only the keys you want to change.
identity
| Key | Type | Rules |
|---|---|---|
name | string | 2–30 characters. The label under the icon. |
short_name | string | 1–12 characters. |
package_name | string | Lowercase letters, digits and underscores in at least two dot-separated parts, each starting with a letter. Unique; cannot change once on Google Play. |
version_name | string | Such as 1.4.0. Shown to users. |
version_code | integer | Raised automatically on every build so Google Play accepts each upload. |
brand
| Key | Type | Rules |
|---|---|---|
icon, logo, splash, splash_background_image | string|null | Storage keys, read only. Set them with the dashboard or brand image endpoints. |
primary_color, secondary_color, status_bar_color, navigation_bar_color | colour | #RRGGBB |
adaptive_icon_background | colour | Behind the icon when Android masks it. |
splash_background_mode | enum | solid · gradient · image. image needs splash_background_image. |
splash_background, splash_background_end | colour | Solid colour, or gradient start and end. |
splash_gradient_direction | enum | vertical · horizontal · diagonal |
splash_animation | enum | none · fade · zoom · pulse · bounce · slide_up · rotate |
splash_logo_size | enum | small · medium · large |
splash_show_name, splash_show_loader | boolean | |
splash_text_color | colour | |
splash_min_duration | integer | 0–3000 milliseconds. |
webview
| Key | Type | Rules |
|---|---|---|
start_url | string | On one of the allowed domains. |
allowed_domains | string[] | 1–25 hosts; *.example.com includes every subdomain. Pages elsewhere follow external_url_behavior. |
external_url_behavior | enum | browser · block · in_app |
javascript, dom_storage, file_upload, downloads, pull_to_refresh, zoom | boolean | |
camera, location | boolean | Adds the Android permission; users are still asked. |
orientation | enum | auto · portrait · landscape |
status_bar.visible, status_bar.light_icons | boolean |
navigation
| Key | Type | Rules |
|---|---|---|
back_button | enum | history · confirm_exit · exit |
home_behavior | enum | resume · start_url |
bottom_navigation.enabled | boolean | Needs at least two items. |
bottom_navigation.items | object[] | Up to 5 of { "label", "icon", "url" }: label up to 16 characters, icon one of home · search · cart · user · bell · heart · star · menu · grid · chat, url on an allowed domain. |
advanced
| Key | Type | Rules |
|---|---|---|
custom_user_agent | string|null | Up to 200 printable ASCII characters. |
deep_links.enabled | boolean | Open matching links in the app. Needs at least one host and an assetlinks.json on each host. |
deep_links.hosts | string[] | Up to 10 hosts, no wildcards. |
deep_links.path_prefixes | string[] | Up to 20, each starting with /. Empty means every path. |
push_notifications.enabled | boolean | Builds include Firebase Cloud Messaging. Needs the app's Firebase files. |
share.enabled | boolean |
Builds
A build runs in the background through queued → preparing → building → signing → validating → uploading → completed, or ends as failed or cancelled. Release builds are signed with the application's own key, created on its first release build; debug builds use a throwaway key and cannot go to Google Play.
{
"id": "01jbx5a1...", "number": 4, "application_id": "01jbx4q3...",
"type": "release", "status": "completed",
"package_name": "com.store_one.shop", "version_name": "1.0.0", "version_code": 4,
"config_version": 3, "template_version": "1.3.0",
"queued_at": "...", "started_at": "...", "completed_at": "...", "duration_seconds": 312,
"failure": null, // { "code": "...", "message": "..." } when failed
"validation": { "passed": true, "checks": [ ... ] },
"artifacts_expire_at": "2026-11-23T14:12:02+00:00"
}
POST
/applications/{id}/builds
GET /builds/{id} or, on the Partner API, the build.completed / build.failed webhooks.| Parameter | Type | Description |
|---|---|---|
type |
string | release · debug. Default release. |
Errors
403— the application is disabled.409 build_not_allowed— maintenance, a suspended organization, or the concurrent build limit (see usage).429 quota_exceeded— monthly builds or artifact storage used up.
GET
/builds
| Parameter | Type | Description |
|---|---|---|
status |
string · query | One build status. |
application |
string · query | An application id. |
per_page |
integer · query | 1–100. |
GET
/builds/{id}
Artifacts
GET
/builds/{id}/artifacts
artifacts_expire_at.Response 200
{
"data": [
{
"id": "01jbx5c2...", "type": "apk", "filename": "store-one-1.0.0-4.apk",
"size_bytes": 5822113, "sha256": "9f2c...", "mime_type": "application/vnd.android.package-archive",
"created_at": "...",
"download_url": "https://...", "download_url_expires_at": "2026-10-24T14:22:02+00:00"
},
{ "id": "01jbx5c3...", "type": "aab", "filename": "store-one-1.0.0-4.aab", ... }
]
}
Errors
409— the build has not completed.403— the application was disabled by BeastView.
Push notifications
POST
/applications/{id}/notifications
tags or one of users. Needs advanced.push_notifications.enabled, a build that includes it, and the app's Firebase files.| Parameter | Type | Description |
|---|---|---|
title required |
string | Up to 100 characters. |
body required |
string | Up to 500 characters. |
url |
string | Opened on tap; must be on the app's allowed domains. |
image_url |
string | An https image. |
scheduled_at |
datetime | In the future and less than a year away. |
tags |
string[] | Up to 20 tags. |
users |
string[] | Up to 500 of your user ids. |
Request
curl -X POST https://beastview.ecombeast.space/api/applications/APP_ID/notifications \
-H "Authorization: Bearer YOUR_TOKEN" -H "Accept: application/json" -H "Content-Type: application/json" \
-d '{"title": "Your order shipped", "body": "Order #1042 is on its way", "url": "https://shop.store-one.com/orders/1042", "users": ["8812"]}'
Response 202
{
"data": {
"id": "01jbx6...", "application_id": "01jbx4q3...",
"title": "Your order shipped", "body": "Order #1042 is on its way",
"url": "https://shop.store-one.com/orders/1042", "image_url": null,
"audience": { "users": ["8812"] }, "status": "sending",
"scheduled_at": null, "created_at": "..."
}
}
Errors
409 push_not_configured.429 quota_exceeded— monthly notifications used up.
When the app is in the background or not running, Android shows the notification itself, so it still arrives when the app was swiped away or is held asleep by battery saving. (An app the user force-stopped receives nothing until it is opened again.) When the app is open, the app shows it. Each notification stays until it is opened or dismissed; a new one does not replace it. Tapping it opens url only when it is on the app's allowed domains; otherwise the app opens its start page. Apps built from template 1.4.0 on open url in every case and show notifications as pop-up alerts; older builds open their start page when Android showed the notification.
Devices and audiences
Apps built from template 1.3.0 on give the website a beastview_device cookie. Your server reads it after a user signs in and tells BeastView who is on that device, so notifications can target some users only.
PUT
/applications/{id}/devices/{device_id}
{"tags": [], "user": null} on sign-out.| Parameter | Type | Description |
|---|---|---|
tags |
string[] | Up to 20; lowercase letters, digits and _ . : -, up to 50 characters. |
user |
string|null | Your user id, up to 191 characters. |
Errors
404 device_not_found— the device has not registered yet; it does so a few seconds after the app first opens.
GET
/applications/{id}/devices
| Parameter | Type | Description |
|---|---|---|
tag |
string · query | Only devices with this tag. |
user |
string · query | Only this user's devices. |
Partner API
For platforms. A store builder, a website builder or an agency tool can offer "Get your Android app" to its own customers. The customers never create a BeastView account: the partner's server makes every call, and all apps live in the partner's organization, under the partner's plan.
- Availability — organizations whose plan includes the Partner API (the Partner and Enterprise plans, and any plan made for you). Contact us to have your organization moved to one.
- Token — create one with Partner access under Settings → API tokens. Partner tokens also have the higher rate limits.
- Customers — a record per customer of yours, keyed by your own
external_id. Apps created for a customer carry it incustomer, in API responses and in webhooks. - Quotas — every customer's apps, builds, storage and notifications count against the partner organization's plan. Optionally cap a single customer with
max_applications. - Everything else is the Core API — configure, build, download and notify with the endpoints above, using the same partner token.
| Partner plan | Included |
|---|---|
| Applications | 5,000 |
| Builds per month | 20,000 |
| Artifact storage (MB) | 1,000,000 |
| Notifications per month | 20,000,000 |
| Concurrent builds | 5 |
| Also | Partner API and webhooks |
Integration guide: a store platform
The flow below is how a store builder such as EcomBeast lets a merchant turn their store into an app from inside the store's own admin panel.
-
Once: subscribe to events. Register one webhook endpoint and store its secret.
curl -X POST https://beastview.ecombeast.space/api/partner/webhooks \ -H "Authorization: Bearer PARTNER_TOKEN" -H "Accept: application/json" -H "Content-Type: application/json" \ -d '{"url": "https://platform.example-store.com/webhooks/beastview", "events": ["*"]}' -
Find or create the merchant. Use your store id as
external_id; it is unique within your organization, so a retried request cannot create a duplicate (it gets422).curl "https://beastview.ecombeast.space/api/partner/customers?external_id=store_123" -H "Authorization: Bearer PARTNER_TOKEN" -H "Accept: application/json" curl -X POST https://beastview.ecombeast.space/api/partner/customers \ -H "Authorization: Bearer PARTNER_TOKEN" -H "Accept: application/json" -H "Content-Type: application/json" \ -d '{"external_id": "store_123", "name": "Store One", "email": "owner@store-one.com", "max_applications": 1}' -
Create the app from the store. Pass what you already know (name, logo, colours);
"analyze": truefills the gaps from the store's own pages.curl -X POST https://beastview.ecombeast.space/api/partner/customers/CUSTOMER_ID/applications \ -H "Authorization: Bearer PARTNER_TOKEN" -H "Accept: application/json" -H "Content-Type: application/json" \ -d '{ "website_url": "https://shop.store-one.com", "name": "Store One", "analyze": true, "images": { "icon": "https://cdn.example-store.com/stores/123/icon-1024.png", "logo": "https://cdn.example-store.com/stores/123/logo.png" }, "config": { "brand": { "primary_color": "#0A7CFF", "splash_animation": "fade" }, "navigation": { "bottom_navigation": { "enabled": true, "items": [ { "label": "Home", "icon": "home", "url": "https://shop.store-one.com/" }, { "label": "Cart", "icon": "cart", "url": "https://shop.store-one.com/cart" }, { "label": "Account", "icon": "user", "url": "https://shop.store-one.com/account" } ] } } } }' -
Build it.
curl -X POST https://beastview.ecombeast.space/api/applications/APP_ID/builds -H "Authorization: Bearer PARTNER_TOKEN" -H "Accept: application/json" -
Deliver the files. When
build.completedarrives, fetch the artifacts, download the APK and AAB into your own storage (the links expire in minutes) and show them to the merchant. Onbuild.failed, showdata.object.failure.message; it is written for end users.curl https://beastview.ecombeast.space/api/builds/BUILD_ID/artifacts -H "Authorization: Bearer PARTNER_TOKEN" -H "Accept: application/json" -
Optional: open store links in the app. Enable deep links for the store's domain, run a release build, then serve
GET /partner/applications/{id}/assetlinksathttps://shop.store-one.com/.well-known/assetlinks.json. A store platform that hosts the domain can do this for every merchant automatically. -
Optional: push notifications. Upload the Firebase files with
PUT /partner/applications/{id}/firebase, setadvanced.push_notifications.enabled, rebuild, then send order updates withPOST /applications/{id}/notifications. Tag devices with your shopper ids to reach one shopper. -
Lifecycle. When a merchant stops paying, pause the app; when they leave, delete the customer with
delete_applications=true.
Keep the BeastView ids (customer, application, latest build) next to your own store record. Treat webhooks as hints that something changed and read the current state from the API when in doubt: events can arrive out of order or more than once.
Usage
GET
/partner/usage
limit: null means unlimited) and the concurrent build allowance.Response 200
{
"data": {
"organization": { "id": "01jbx3...", "name": "EcomBeast" },
"plan": { "key": "partner", "name": "Partner" },
"quotas": [
{ "metric": "applications", "usage": 412, "limit": 5000, "unit": null, "resets_monthly": false },
{ "metric": "builds", "usage": 1290, "limit": 20000, "unit": null, "resets_monthly": true },
{ "metric": "storage", "usage": 48211, "limit": 1000000, "unit": "MB", "resets_monthly": false },
{ "metric": "notifications", "usage": 80412, "limit": 20000000, "unit": null, "resets_monthly": true }
],
"concurrent_builds": { "active": 2, "limit": 5 },
"customers_count": 398,
"period": "2026-10"
}
}
Website analysis
POST
/partner/analyze
| Parameter | Type | Description |
|---|---|---|
website_url required |
string | Public http(s) address. |
Response 200
{
"data": {
"url": "https://shop.store-one.com/", "host": "shop.store-one.com",
"title": "Store One | Best shop", "site_name": null,
"description": "Everything for your home", "theme_color": "#0A7CFF",
"favicon_url": "https://shop.store-one.com/favicon.ico", "open_graph_image_url": null,
"icon_candidates": [ { "url": "https://shop.store-one.com/icon.png", "source": "apple-touch-icon", "size": 512 } ],
"suggested_name": "Store One",
"suggested_package_name": "com.store_one.shop"
}
}
Errors
422— the address is not public, cannot be reached or did not return a web page.
Customers
{
"id": "01jbx4p9...",
"external_id": "store_123", // yours; unique in your organization
"name": "Store One",
"email": "owner@store-one.com",
"metadata": { "tier": "gold" }, // flat key/value pairs for your own use
"max_applications": 1, // null: only the plan limit applies
"applications_count": 1,
"created_at": "...", "updated_at": "..."
}
GET
/partner/customers
| Parameter | Type | Description |
|---|---|---|
external_id |
string · query | Exact match: the way to find a customer by your own id. |
search |
string · query | Part of the name or email. |
per_page |
integer · query | 1–100. |
POST
/partner/customers
| Parameter | Type | Description |
|---|---|---|
name required |
string | Up to 120 characters. |
external_id |
string | Up to 191 characters; unique within your organization. |
email |
string | Contact address; BeastView never writes to it. |
max_applications |
integer|null | Cap for this customer, 0–100000. |
metadata |
object | Up to 50 keys (40 characters) with string (500 characters), number, boolean or null values. |
Errors
422— for exampleexternal_idalready taken.
GET
/partner/customers/{id}
PATCH
/partner/customers/{id}
metadata is replaced as a whole. Lowering max_applications never deletes apps; it only stops new ones.
DELETE
/partner/customers/{id}
delete_applications=true (query string or body), which deletes those applications too.| Parameter | Type | Description |
|---|---|---|
delete_applications |
boolean | Also delete the customer's applications. |
Errors
409 customer_has_applications.
Customer applications
GET
/partner/customers/{id}/applications
latest_build.
POST
/partner/customers/{id}/applications
POST /applications takes, plus brand images by URL and an optional website analysis. Images are fetched, checked and re-encoded before the app is saved; if one cannot be used, nothing is created.| Parameter | Type | Description |
|---|---|---|
website_url required |
string | The customer's public site. |
name |
string | 2–30 characters. With analyze, defaults to the site's name. |
package_name |
string | Suggested from the domain when left out. |
description |
string | Up to 200 characters. With analyze, defaults to the site's description. |
config |
object | Partial configuration. |
images |
object | Public image URLs by slot: icon, logo, splash, splash_background_image. Same rules as brand images. |
analyze |
boolean | Read the site first for its name, theme colour and description; without an images.icon, also try its best two icons. A site that cannot be read is not an error: the defaults are used. |
Response 201
{
"data": {
"id": "01jbx4q3...", "name": "Store One", "status": "active",
"package_name": "com.store_one.shop", "website_url": "https://shop.store-one.com/",
"customer": { "id": "01jbx4p9...", "external_id": "store_123" },
"config": { "identity": { ... }, "brand": { "icon": "orgs/.../assets/icon-bfc0c5de08b0724ff918.png", ... }, ... },
...
}
}
Errors
422— invalid fields;images.<slot>explains an image that could not be used.429 quota_exceeded— the plan's application limit, or the customer'smax_applications, is reached.
Brand images
Images are PNG, JPEG or WebP up to 4 MB. BeastView decodes each one and stores a re-encoded PNG, so metadata and anything hidden in the file are dropped. New images are used by the next build.
| Slot | Size | Notes |
|---|---|---|
icon | 512–4096 px, square | Keep the artwork away from the edges: Android masks icons into circles and rounded squares. |
logo | 128–4096 px | Shown on the splash screen when there is no splash, and on the offline and error screen. The icon is used without it. |
splash | 512–4096 px | Shown on the splash screen instead of the logo. |
splash_background_image | 480–6000 px | Used when splash_background_mode is image. |
POST
/partner/applications/{id}/images/{slot}
| Parameter | Type | Description |
|---|---|---|
file |
file | The image, as multipart/form-data. |
url |
string | Or a public URL to fetch it from. |
Request
# Upload a file
curl -X POST https://beastview.ecombeast.space/api/partner/applications/APP_ID/images/icon \
-H "Authorization: Bearer PARTNER_TOKEN" -H "Accept: application/json" \
-F "file=@icon-1024.png"
# Or fetch it from a URL
curl -X POST https://beastview.ecombeast.space/api/partner/applications/APP_ID/images/logo \
-H "Authorization: Bearer PARTNER_TOKEN" -H "Accept: application/json" -H "Content-Type: application/json" \
-d '{"url": "https://cdn.example-store.com/stores/123/logo.png"}'
Errors
422— onfileorurl: wrong type, too small or large, not square (icon), or not reachable.404— unknown slot.
DELETE
/partner/applications/{id}/images/{slot}
splash_background_mode is image switches the mode to solid.Firebase
Push notifications use the customer's (or your) Firebase project. In the Firebase console, register an Android app with the application's exact package_name, then send BeastView two files: google-services.json, which is built into the app, and a service account key (Project settings → Service accounts → Generate new private key), which BeastView stores encrypted and uses only to send this app's notifications.
PUT
/partner/applications/{id}/firebase
| Parameter | Type | Description |
|---|---|---|
google_services |
object|string | The google-services.json content; it must contain this app's package name. |
service_account |
object|string | The service account key. |
Request
curl -X PUT https://beastview.ecombeast.space/api/partner/applications/APP_ID/firebase \
-H "Authorization: Bearer PARTNER_TOKEN" -H "Accept: application/json" -H "Content-Type: application/json" \
-d "{\"google_services\": $(cat google-services.json), \"service_account\": $(cat service-account.json)}"
Response 200
{
"data": {
"application_id": "01jbx4q3...",
"project_id": "store-one-push",
"google_services": true,
"service_account": true,
"can_send_push": true,
"push_enabled_in_config": false // set advanced.push_notifications.enabled, then rebuild
}
}
Errors
422— ongoogle_servicesorservice_account: not a Firebase file, another package name, another project.
GET
/partner/applications/{id}/firebase
DELETE
/partner/applications/{id}/firebase
Pause and resume
POST
/partner/applications/{id}/pause
POST
/partner/applications/{id}/resume
Errors
403— BeastView staff disabled the application (for example after an abuse report). Contact support.
Signing and App Links
GET
/partner/applications/{id}/signing
data is null until the first release build creates the key. The same key signs every release build, so updates install over earlier versions.Response 200
{
"data": {
"mode": "platform_managed",
"certificate_sha256": "14:6D:E9:83:C5:73:06:50:D8:EE:B9:95:2F:34:FC:64:16:A0:83:42:E6:1D:BE:A8:8A:04:96:B2:3F:CF:44:E5",
"certificate_sha1": "...",
"subject": "CN=Store One",
"valid_until": "2056-10-24T14:10:00+00:00",
"created_at": "..."
}
}
GET
/partner/applications/{id}/assetlinks
https://<host>/.well-known/assetlinks.json for each of the app's deep link hosts. Serve it unchanged, as application/json, without redirects. If you publish through Google Play App Signing, add Play's app signing certificate from the Play Console to sha256_cert_fingerprints.Response 200
[
{
"relation": ["delegate_permission/common.handle_all_urls"],
"target": {
"namespace": "android_app",
"package_name": "com.store_one.shop",
"sha256_cert_fingerprints": ["14:6D:E9:...:44:E5"]
}
}
]
Errors
409 signing_key_missing— run a release build first.
Build control
POST
/partner/builds/{id}/cancel
Errors
409 build_not_cancellable— it has already started or finished.
GET
/partner/builds/{id}/logs
| Parameter | Type | Description |
|---|---|---|
channel |
string · query | event (default): the stage-by-stage summary shown on the build page. technical: tool output, with secrets removed. |
per_page |
integer · query | 1–500, default 100. |
Response 200
{
"data": [
{ "stage": "queued", "level": "info", "message": "Build queued.", "created_at": "..." },
{ "stage": "preparing", "level": "info", "message": "Preparing the build workspace.", "created_at": "..." }
],
"meta": { "current_page": 1, "last_page": 1, "per_page": 100, "total": 2 }
}
Webhooks
Webhooks tell your server when something happens to your organization's applications and builds, so you do not have to poll. An organization can register up to 10 endpoints; each must be a public https:// address.
{
"id": "01jbx7...",
"url": "https://platform.example-store.com/webhooks/beastview",
"description": "Production",
"events": ["*"], // or a list of event names
"active": true,
"disabled_reason": null,
"consecutive_failures": 0,
"last_delivery_at": "...",
"secret": "whsec_...", // on create and rotate-secret only
"created_at": "...", "updated_at": "..."
}
POST
/partner/webhooks
secret is shown.| Parameter | Type | Description |
|---|---|---|
url required |
string | Public https URL. Redirects are not followed. |
events required |
string[] | ["*"] for everything, or event names from the list below. |
description |
string | Up to 200 characters. |
GET
/partner/webhooks
GET
/partner/webhooks/{id}
PATCH
/partner/webhooks/{id}
url, events or description, or switch it with active. "active": true also turns back on an endpoint BeastView disabled after repeated failures.
DELETE
/partner/webhooks/{id}
POST
/partner/webhooks/{id}/rotate-secret
secret. The old one stops working immediately, so update your receiver first to accept both during the switch.
POST
/partner/webhooks/{id}/ping
ping event to this endpoint only, to test your receiver. Returns the delivery.
GET
/partner/webhooks/{id}/deliveries
| Parameter | Type | Description |
|---|---|---|
status |
string · query | pending · succeeded · failed |
event |
string · query | One event name. |
Response 200
{
"data": [
{
"id": "01jbx8...", "event": "build.completed", "status": "succeeded",
"attempts": 1, "response_status": 204, "error": null,
"payload": { "id": "evt_01jbx8...", "type": "build.completed", ... },
"delivered_at": "...", "created_at": "..."
}
],
"links": { ... }, "meta": { ... }
}
POST
/partner/webhooks/{id}/deliveries/{delivery_id}/redeliver
Errors
409— the delivery is still being attempted, or the endpoint is disabled.
Events and payload
GET
/partner/webhook-events
| Event | When | data.object |
|---|---|---|
application.created |
An application was created. | Application |
application.updated |
An application's configuration changed. | Application |
application.disabled |
An application was paused, or disabled by BeastView staff. | Application |
application.enabled |
A paused application was resumed. | Application |
application.deleted |
An application was deleted. | Application |
build.queued |
A build was queued. | Build |
build.completed |
A build finished; its APK and AAB can be downloaded. | Build |
build.failed |
A build failed. | Build |
build.cancelled |
A queued build was cancelled. | Build |
notification.sent |
A push notification was sent. | Notification result |
notification.failed |
A push notification could not be sent. | Notification result |
ping | Sent on request, to test an endpoint. | { "webhook_id", "message" } |
Every delivery is a POST with a JSON body like this:
POST /webhooks/beastview HTTP/1.1
Content-Type: application/json
User-Agent: BeastView-Webhooks/1.0
BeastView-Event: build.completed
BeastView-Delivery: 01jbx8m2k4...
BeastView-Signature: t=1792850000,v1=5257a869e7ecebeda32affa62cdca3fa51cad7e77a0e56ff536d0ce8e108d8bd
{
"id": "evt_01jbx8m2k3...", // the same for every endpoint that receives this event
"type": "build.completed",
"created_at": "2026-10-24T14:12:02+00:00",
"organization_id": "01jbx3...",
"data": {
"object": {
"id": "01jbx5a1...", "number": 4, "application_id": "01jbx4q3...", "type": "release",
"status": "completed", "version_name": "1.0.0", "version_code": 4, "failure": null, ...
},
"customer": { "id": "01jbx4p9...", "external_id": "store_123" } // null for apps without a customer
}
}
Application events carry the application object (without its configuration); notification events carry id, application_id, title, status, audience, target_count, success_count, failure_count, failure_reason and sent_at. application.updated fires on every configuration change, image uploads included. Events about any application in the organization are sent, whether or not it has a customer.
Delivery and retries
- A
2xxanswer within 10 seconds counts as delivered. Anything else, including a redirect, is a failure. - Failed deliveries are retried after 1 minute, 5 minutes, 30 minutes, 2 hours and 6 hours: six attempts in all, then the delivery is marked
failed. You can redeliver it later. - After 20 deliveries in a row fail, the endpoint is disabled (
active: falsewith adisabled_reason). Fix it, thenPATCHit with"active": true. - Delivery is at least once and not ordered: deduplicate on
id, and compare timestamps or read the object from the API when order matters. - Answer fast and do the work in a background job.
Verifying signatures
Each request is signed with the endpoint's secret. BeastView-Signature holds a Unix timestamp t and v1, the hex HMAC-SHA256 of t + "." + raw request body. Compute it over the raw bytes (not re-encoded JSON), compare in constant time, and reject timestamps more than five minutes old to stop replays.
Laravel
// routes/web.php or routes/api.php, outside CSRF protection.
Route::post('/webhooks/beastview', function (Illuminate\Http\Request $request) {
$secret = config('services.beastview.webhook_secret'); // whsec_...
$header = (string) $request->header('BeastView-Signature');
preg_match('/^t=(\d+),v1=([0-9a-f]{64})$/', $header, $m);
$valid = $m
&& abs(time() - (int) $m[1]) <= 300
&& hash_equals(hash_hmac('sha256', $m[1].'.'.$request->getContent(), $secret), $m[2]);
abort_unless($valid, 400);
// Answer quickly and do the work in a queued job; deduplicate on the event id.
ProcessBeastViewEvent::dispatch($request->json()->all());
return response()->noContent();
});
Node.js (Express)
import crypto from 'node:crypto';
import express from 'express';
const app = express();
// The signature covers the raw bytes, so read the body before parsing it.
app.post('/webhooks/beastview', express.raw({ type: 'application/json' }), (req, res) => {
const header = req.get('BeastView-Signature') || '';
const { t, v1 } = Object.fromEntries(header.split(',').map((part) => part.split('=')));
const expected = crypto
.createHmac('sha256', process.env.BEASTVIEW_WEBHOOK_SECRET)
.update(`${t}.${req.body}`)
.digest('hex');
const fresh = Math.abs(Date.now() / 1000 - Number(t)) <= 300;
const valid = fresh && typeof v1 === 'string' && v1.length === expected.length
&& crypto.timingSafeEqual(Buffer.from(v1), Buffer.from(expected));
if (!valid) return res.sendStatus(400);
const event = JSON.parse(req.body.toString('utf8'));
// queue(event) — and skip it if event.id was already processed.
res.sendStatus(204);
});
Changelog
| 2026-10-29 |
More reliable push notifications. Android now shows notifications itself while the app is in the background, so they arrive far more reliably when the app was swiped away or is held asleep by battery saving. No request or response changes.
Template 1.4.0: tapping a notification opens its url (on the app's allowed domains) in every case, notifications pop up on screen, and a phone that could not register at first launch retries within minutes instead of at the next restart.
The splash screen shows the logo when no splash image is set, as documented; before, it showed the icon. Apps pick up the template changes when they are rebuilt.
|
| 2026-10-24 |
Partner API. Customers, application creation for a customer with images by URL and website analysis, brand image upload, Firebase setup, pause and resume, signing certificate and assetlinks.json, build cancel and logs, usage, and signed webhooks with retries and delivery history.
Application objects gain customer. Partner tokens get higher rate limits; plans can set their own concurrent build limit.
|