Registering Tokens (tokens/register)
You can register a token with a specified Apple Push Notification services (APNs) environment.
The URL to the CloudKit web service, which is
The protocol version—currently, 1.
A unique identifier for the app’s container. The container ID begins with
The version of the app’s container. Pass
developmentto use the environment that is not accessible by apps available on the store. Pass
productionto use the environment that is accessible by development apps and apps available on the store.
The POST request is a JSON dictionary containing the following keys:
A string that specifies the APNs environment. To use the production environment, set this key to
A token you use to register to receive push notifications from other containers. This key is required.