Skip to main content
PUT
configurePushCredential

Authorizations

Authorization
string
header
required

Your project's secret key (pk_…, without the pub segment). Server-side only — never ship it to a browser. Get it from Settings → Projects in the dashboard.

Body

application/json

Maximum encoded body size: 65536 bytes.

appId
string
required
Required string length: 1 - 256
platform
enum<string>
required
Available options:
ios,
android
environment
enum<string>
required
Available options:
development,
production
expectedRevision
integer
required
Required range: 0 <= x <= 9007199254740991
credential
object
required

Response

Successful operation. Acceptance is distinct from device receipt.

credential
object
required