Subscriptions
Signed fetch authentication using @dcl/platform-crypto-middleware implementing Decentraland's ADR-44.
Requirements:
- Authentication chain headers:
x-identity,x-signature,x-timestamp - Token expiration: 5 minutes
- Metadata validation: Rejects requests with
signer: "decentraland-kernel-scene" - The user's Ethereum address is extracted from the auth chain
Example:
Authorization: Bearer <signed-fetch-token>
x-identity: <auth-chain-json>
x-signature: <signature>
x-timestamp: <timestamp>
User subscription preferences retrieved successfully
Confirmed email address (null if not set)
Email pending confirmation (null if no pending email)
Unauthorized - invalid or missing signed fetch headers
Forbidden - signed fetch metadata validation failed
Signed fetch authentication using @dcl/platform-crypto-middleware implementing Decentraland's ADR-44.
Requirements:
- Authentication chain headers:
x-identity,x-signature,x-timestamp - Token expiration: 5 minutes
- Metadata validation: Rejects requests with
signer: "decentraland-kernel-scene" - The user's Ethereum address is extracted from the auth chain
Example:
Authorization: Bearer <signed-fetch-token>
x-identity: <auth-chain-json>
x-signature: <signature>
x-timestamp: <timestamp>
If true, user will not receive any email notifications
If true, user will not receive any in-app notifications
Subscription preferences updated successfully
Invalid request - validation error in subscription details
Unauthorized - invalid or missing signed fetch headers
Forbidden - signed fetch metadata validation failed
No content
Ethereum address of the user
0xb5D7D1A05f553b5098D9274Df6B292e4e8222314Pattern: ^0x[a-fA-F0-9]{40}$HMAC-SHA256 signature of the URL path and query parameters
Unix timestamp when the signature was generated
Successfully unsubscribed from all email notifications - returns HTML page
HTML confirmation page
Invalid signature or expired link
Ethereum address of the user
0xb5D7D1A05f553b5098D9274Df6B292e4e8222314Pattern: ^0x[a-fA-F0-9]{40}$Notification type to unsubscribe from (must be a valid NotificationType enum value)
bid_acceptedHMAC-SHA256 signature of the URL path and query parameters
Unix timestamp when the signature was generated
Successfully unsubscribed from notification type - returns HTML page
HTML confirmation page
Invalid signature, expired link, or invalid notification type
Signed fetch authentication using @dcl/platform-crypto-middleware implementing Decentraland's ADR-44.
Requirements:
- Authentication chain headers:
x-identity,x-signature,x-timestamp - Token expiration: 5 minutes
- Metadata validation: Rejects requests with
signer: "decentraland-kernel-scene" - The user's Ethereum address is extracted from the auth chain
Example:
Authorization: Bearer <signed-fetch-token>
x-identity: <auth-chain-json>
x-signature: <signature>
x-timestamp: <timestamp>
Email address to set (provide empty string to remove email and disable notifications)
Optional redirect URL for email confirmation flow
Whether this is part of the credits workflow (affects confirmation URL and email template)
falseEmail verification process initiated successfully (or email removed if empty string provided)
Invalid email format or email already registered to another account or domain blacklisted
Unauthorized - invalid or missing signed fetch headers
Forbidden - signed fetch metadata validation failed
No content
Ethereum address of the user confirming the email
^0x[a-fA-F0-9]{40}$32-character verification code sent via email
Cloudflare Turnstile captcha token (required when Turnstile verification is enabled)
Source of the email confirmation (used for analytics)
Email confirmed successfully
Invalid or missing confirmation code, address, or email domain blacklisted
Invalid captcha token (when Turnstile verification is enabled)
No content
Signed fetch authentication using @dcl/platform-crypto-middleware implementing Decentraland's ADR-44.
Requirements:
- Authentication chain headers:
x-identity,x-signature,x-timestamp - Token expiration: 5 minutes
- Metadata validation: Rejects requests with
signer: "decentraland-kernel-scene" - The user's Ethereum address is extracted from the auth chain
Example:
Authorization: Bearer <signed-fetch-token>
x-identity: <auth-chain-json>
x-signature: <signature>
x-timestamp: <timestamp>
Scope type for the opt-out
Identifier scoped to the scope (e.g., community ID)
Notification opt-out status retrieved successfully
Scope type targeted by the opt-out
Identifier scoped to the scope (e.g., community ID)
Whether the authenticated user has opted out
Unauthorized - invalid or missing signed fetch headers
Forbidden - signed fetch metadata validation failed
Signed fetch authentication using @dcl/platform-crypto-middleware implementing Decentraland's ADR-44.
Requirements:
- Authentication chain headers:
x-identity,x-signature,x-timestamp - Token expiration: 5 minutes
- Metadata validation: Rejects requests with
signer: "decentraland-kernel-scene" - The user's Ethereum address is extracted from the auth chain
Example:
Authorization: Bearer <signed-fetch-token>
x-identity: <auth-chain-json>
x-signature: <signature>
x-timestamp: <timestamp>
Scope type for the opt-out
Identifier scoped to the scope (e.g., community ID)
Notification opt-out deleted successfully
Unauthorized - invalid or missing signed fetch headers
Forbidden - signed fetch metadata validation failed
No content
Signed fetch authentication using @dcl/platform-crypto-middleware implementing Decentraland's ADR-44.
Requirements:
- Authentication chain headers:
x-identity,x-signature,x-timestamp - Token expiration: 5 minutes
- Metadata validation: Rejects requests with
signer: "decentraland-kernel-scene" - The user's Ethereum address is extracted from the auth chain
Example:
Authorization: Bearer <signed-fetch-token>
x-identity: <auth-chain-json>
x-signature: <signature>
x-timestamp: <timestamp>
Scope type to opt out from
Identifier scoped to the scope (e.g., community ID)
Notification opt-out created successfully
Invalid request - validation error
Unauthorized - invalid or missing signed fetch headers
Forbidden - signed fetch metadata validation failed
Last updated