Account dataA partner created a customer church through the API.
Account facts about the church, its keys and connections: ids, names the church chose, scopes, roles and states. Secrets, tokens and key values are never included.
data.object.object is church.
Fields of data.object for partner.church.created
Field
Type
Description
country required
string
The ISO country code, empty when not set.
counts required
object
How much the church holds.
members required
integer
Team members.
published_notes required
integer
Published notes.
teachings required
integer
Teachings in the library.
created_at required
string (date-time)
When the church was created.
deletion required
object | null
Set once deletion is scheduled.
purge_after required
string (date-time)
When the data is removed.
requested_at required
string (date-time)
When deletion was requested.
stage required
enum: scheduled | purged
scheduled or purged.
id required
string
The church id.
name required
string
The church name.
object required
enum: church
Always church.
plan required
object | null
The plan it is on, null before it has one.
id required
string
The plan id.
key required
string
The plan key.
name required
string
The plan name.
object required
enum: plan
Always plan.
sandbox required
boolean
True for a free sandbox church that expires.
slug required
string
The church web address.
status required
enum: active | suspended | deletion_scheduled | deleted
Where the church stands.
subscription_status required
string
The subscription status, empty without a subscription.
Account dataA customer church changed its name or web address.
Account facts about the church, its keys and connections: ids, names the church chose, scopes, roles and states. Secrets, tokens and key values are never included.
data.object.object is church.
Fields of data.object for partner.church.updated
Field
Type
Description
country required
string
The ISO country code, empty when not set.
counts required
object
How much the church holds.
members required
integer
Team members.
published_notes required
integer
Published notes.
teachings required
integer
Teachings in the library.
created_at required
string (date-time)
When the church was created.
deletion required
object | null
Set once deletion is scheduled.
purge_after required
string (date-time)
When the data is removed.
requested_at required
string (date-time)
When deletion was requested.
stage required
enum: scheduled | purged
scheduled or purged.
id required
string
The church id.
name required
string
The church name.
object required
enum: church
Always church.
plan required
object | null
The plan it is on, null before it has one.
id required
string
The plan id.
key required
string
The plan key.
name required
string
The plan name.
object required
enum: plan
Always plan.
sandbox required
boolean
True for a free sandbox church that expires.
slug required
string
The church web address.
status required
enum: active | suspended | deletion_scheduled | deleted
Where the church stands.
subscription_status required
string
The subscription status, empty without a subscription.
suspended_at required
string (date-time) | null
When it was suspended.
On updates, data.previous_attributes holds the earlier value of any of these that changed: name, slug, country.
Account dataA customer church was suspended or reinstated. status says which.
Account facts about the church, its keys and connections: ids, names the church chose, scopes, roles and states. Secrets, tokens and key values are never included.
data.object.object is church.
Fields of data.object for partner.church.suspended
Field
Type
Description
country required
string
The ISO country code, empty when not set.
counts required
object
How much the church holds.
members required
integer
Team members.
published_notes required
integer
Published notes.
teachings required
integer
Teachings in the library.
created_at required
string (date-time)
When the church was created.
deletion required
object | null
Set once deletion is scheduled.
purge_after required
string (date-time)
When the data is removed.
requested_at required
string (date-time)
When deletion was requested.
stage required
enum: scheduled | purged
scheduled or purged.
id required
string
The church id.
name required
string
The church name.
object required
enum: church
Always church.
plan required
object | null
The plan it is on, null before it has one.
id required
string
The plan id.
key required
string
The plan key.
name required
string
The plan name.
object required
enum: plan
Always plan.
sandbox required
boolean
True for a free sandbox church that expires.
slug required
string
The church web address.
status required
enum: active | suspended | deletion_scheduled | deleted
Where the church stands.
subscription_status required
string
The subscription status, empty without a subscription.
suspended_at required
string (date-time) | null
When it was suspended.
On updates, data.previous_attributes holds the earlier value of any of these that changed: status, suspended_at.
Account dataA customer church was scheduled for deletion or removed. deletion.stage is scheduled or purged.
Account facts about the church, its keys and connections: ids, names the church chose, scopes, roles and states. Secrets, tokens and key values are never included.
data.object.object is church.
Fields of data.object for partner.church.deleted
Field
Type
Description
country required
string
The ISO country code, empty when not set.
counts required
object
How much the church holds.
members required
integer
Team members.
published_notes required
integer
Published notes.
teachings required
integer
Teachings in the library.
created_at required
string (date-time)
When the church was created.
deletion required
object | null
Set once deletion is scheduled.
purge_after required
string (date-time)
When the data is removed.
requested_at required
string (date-time)
When deletion was requested.
stage required
enum: scheduled | purged
scheduled or purged.
id required
string
The church id.
name required
string
The church name.
object required
enum: church
Always church.
plan required
object | null
The plan it is on, null before it has one.
id required
string
The plan id.
key required
string
The plan key.
name required
string
The plan name.
object required
enum: plan
Always plan.
sandbox required
boolean
True for a free sandbox church that expires.
slug required
string
The church web address.
status required
enum: active | suspended | deletion_scheduled | deleted
Where the church stands.
subscription_status required
string
The subscription status, empty without a subscription.
suspended_at required
string (date-time) | null
When it was suspended.
On updates, data.previous_attributes holds the earlier value of any of these that changed: status.
Account dataA customer church moved to a different plan.
Account facts about the church, its keys and connections: ids, names the church chose, scopes, roles and states. Secrets, tokens and key values are never included.
data.object.object is church.
Fields of data.object for partner.church.plan_changed
Field
Type
Description
country required
string
The ISO country code, empty when not set.
counts required
object
How much the church holds.
members required
integer
Team members.
published_notes required
integer
Published notes.
teachings required
integer
Teachings in the library.
created_at required
string (date-time)
When the church was created.
deletion required
object | null
Set once deletion is scheduled.
purge_after required
string (date-time)
When the data is removed.
requested_at required
string (date-time)
When deletion was requested.
stage required
enum: scheduled | purged
scheduled or purged.
id required
string
The church id.
name required
string
The church name.
object required
enum: church
Always church.
plan required
object | null
The plan it is on, null before it has one.
id required
string
The plan id.
key required
string
The plan key.
name required
string
The plan name.
object required
enum: plan
Always plan.
sandbox required
boolean
True for a free sandbox church that expires.
slug required
string
The church web address.
status required
enum: active | suspended | deletion_scheduled | deleted
Where the church stands.
subscription_status required
string
The subscription status, empty without a subscription.
suspended_at required
string (date-time) | null
When it was suspended.
On updates, data.previous_attributes holds the earlier value of any of these that changed: plan.
Account dataA customer church used up a share of one of its plan allowances.
Account facts about the church, its keys and connections: ids, names the church chose, scopes, roles and states. Secrets, tokens and key values are never included.
data.object.object is church.
Fields of data.object for partner.church.usage_threshold
Field
Type
Description
country required
string
The ISO country code, empty when not set.
counts required
object
How much the church holds.
members required
integer
Team members.
published_notes required
integer
Published notes.
teachings required
integer
Teachings in the library.
created_at required
string (date-time)
When the church was created.
deletion required
object | null
Set once deletion is scheduled.
purge_after required
string (date-time)
When the data is removed.
requested_at required
string (date-time)
When deletion was requested.
stage required
enum: scheduled | purged
scheduled or purged.
id required
string
The church id.
name required
string
The church name.
object required
enum: church
Always church.
plan required
object | null
The plan it is on, null before it has one.
id required
string
The plan id.
key required
string
The plan key.
name required
string
The plan name.
object required
enum: plan
Always plan.
sandbox required
boolean
True for a free sandbox church that expires.
slug required
string
The church web address.
status required
enum: active | suspended | deletion_scheduled | deleted
Where the church stands.
subscription_status required
string
The subscription status, empty without a subscription.
suspended_at required
string (date-time) | null
When it was suspended.
usage_threshold required
object
The allowance that crossed this share.
consumed required
integer
What has been used this period.
included required
integer
What the plan includes, with credits.
meter required
string
The allowance, such as hours or asks.
percent required
integer
The share of the allowance used when this was sent: 80 or 100.
Account dataA partner issued an API key for a customer church. The secret is never included.
Account facts about the church, its keys and connections: ids, names the church chose, scopes, roles and states. Secrets, tokens and key values are never included.
data.object.object is api_key.
Fields of data.object for partner.key.issued
Field
Type
Description
church
object
The customer church the key belongs to, on partner keys.
id required
string
The church id.
name required
string
The church name.
object required
enum: church
Always church.
slug required
string
The church web address.
church_ids required
string[]
Customer churches a partner key may act for; empty means all.