Get REDnote Signature
Get the signature configuration required for the frontend to call REDnote xhs.share. The API key belongs to the integration partner; the person scanning the QR code does not need an AiToEarn account and does not need to authorize or bind a REDnote account in advance.
Provide your own mobile sharing page and encode its URL as the offline QR code. The landing page should call the integration backend, which calls this endpoint and returns verifyConfig to the frontend for xhs.share. Never expose the API key to the frontend.
This endpoint only generates verifyConfig. It does not accept images, video, title, or body, does not create an AiToEarn publish record, and does not return the final post result. Pass the sharing content when the integration frontend calls xhs.share. Request the signature when the user is ready to share, use the nonce, timestamp, and signature from the same response together, and do not cache it for a long time, mix fields from different requests, or reuse it across multiple sharing attempts.
A successful xhs.share callback only indicates that the SDK invocation or app launch succeeded; it does not confirm that the user finally published the post. Each API key can call this endpoint up to 60 times per 60 seconds.
Authorizations
Need to get API Key from AiToEarn. Click to go to "API Key Obtaining Tutorial".
Body
Optional random string with a maximum length of 64 characters. The server generates one automatically when omitted.
1 - 64Response
The request has been processed by the service. Business success is determined by whether the response body has code === 0.

