Skip to content
post

Create APNS provider

Endpoint

posthttps://<REGION>.cloud.appwrite.io/v1/messaging/providers/apns

Description

Required scopes

providers.write

Authentication

Initialize the Appwrite client with setProject() and a server API key (setKey()). For direct REST calls, send X-Appwrite-Project and X-Appwrite-Key.

Parameters

string
Required
string
Required
string
string
string
string
boolean
boolean
Status
Content type
201
application/json

Provider

Name
Type
Description
string
string
string
string
string
boolean
string
object
object
HTTP
POST /v1/messaging/providers/apns HTTP/1.1
Host: cloud.appwrite.io
Content-Type: application/json
X-Appwrite-Response-Format: 1.6.0
X-Appwrite-Project: <YOUR_PROJECT_ID>
X-Appwrite-Key: <YOUR_API_KEY>
{
"providerId": "<PROVIDER_ID>",
"name": "<NAME>",
"authKey": "<AUTH_KEY>",
"authKeyId": "<AUTH_KEY_ID>",
"teamId": "<TEAM_ID>",
"bundleId": "<BUNDLE_ID>",
"sandbox": false,
"enabled": false
}