Appspace (management API)
Which Appspaces your credential reaches, and one Appspace’s whole configuration at a glance.
Every path also works under /v1/manage/appspaces/{appspace}, which you need when an OAuth token reaches more than one Appspace. See the management API overview for signing in, errors, dry runs and paging.
| Method | Path | What it does | Permission |
|---|---|---|---|
GET | /v1/manage/appspaces | List the Appspaces you can reach | Read |
GET | /v1/manage/appspace | Get the Appspace | Read |
List the Appspaces you can reach
Section titled “List the Appspaces you can reach”/v1/manage/appspacesPermission: Read.
For an API key, its own Appspace. For an OAuth token, each Appspace the person granted and is still a member of, with the permission there now: the lower of what was granted and their role. Act on one with /v1/manage/appspaces/{appspace}/… (its id or slug).
Response 200: a page of results in data, and next_cursor for the next page (see Paging). Each item:
| Field | Type | Description |
|---|---|---|
id | string | |
slug | string | Use the id or the slug in /v1/manage/appspaces/{appspace}/… |
name | string | |
plan | string | |
permission | read, read_write, full | What this caller may do there: read, read_write or full. |
permission_label | string | |
role | owner, admin, editor, viewer or null | OAuth: the person’s role there now. null for an API key. |
Get the Appspace
Section titled “Get the Appspace”/v1/manage/appspacePermission: Read.
The Appspace this key belongs to: app details for iOS and Android, link domains, plan, usage this billing period, limit state, app open attribution and counts.
Response 200: the result in data, with summary.
| Field | Type | Description |
|---|---|---|
name | string | |
platform | string | |
dashboard_url | string or null | |
ios | object | |
ios.team_id | string or null | |
ios.bundle_id | string or null | |
ios.app_store_url | string or null | |
ios.opens_from_links | boolean | |
android | object | |
android.package | string or null | |
android.fingerprints | integer | How many signing fingerprints are set (the values aren’t shown). |
android.play_store_url | string or null | |
android.opens_from_links | boolean | |
app_url_scheme | string or null | |
web_fallback_url | string or null | |
domains | array of object | |
domains[].host | string | |
domains[].kind | custom, subdomain | |
domains[].primary | boolean | |
domains_note | string | |
plan | object | |
plan.name | string | |
plan.billing_cap | string or null | |
plan.trial_ends_at | string or null | |
plan.analytics_window_days | number | |
plan.ecommerce_analytics | boolean | |
usage | object or null | |
usage.period_ends | string or null | |
usage.clicks | number | |
usage.clicks_limit | number or unlimited or null | |
usage.api_calls | number | |
usage.api_calls_limit | number or unlimited or null | |
limit_state | object | |
limit_state.state | ok, grace, basic | |
limit_state.meaning | string | |
limit_state.basic_links_from | string | |
limit_state.taps_served_basic | number | |
status | object | |
status.frozen | boolean | |
status.billing_active | boolean | |
app_open_attribution | object | |
app_open_attribution.mode | string | |
app_open_attribution.meaning | string | |
counts | object | |
counts.routes | number | |
counts.banners | number | |
counts.messages | number | |
counts.landing_pages | number |