Mach API Endpoints
Submit User Data
Submits user data for Twitter integration
POST
This endpoint allows users to submit their contact information for Twitter integration, marketing communications, and rewards programs.
Request Body
The wallet address of the user
The Twitter handle
(Optional) The Telegram handle
(Optional) The user’s email
Response
Whether the submission was verified and processed successfully
Status Codes
| Status Code | Description |
|---|---|
| 200 | Success - User data submitted successfully |
| 422 | Validation Error - Invalid parameters |
| 500 | Internal Server Error - Something went wrong on the server |