cURL
curl --request POST \ --url https://api.dashgram.io/v1/{project_id}/invited_by \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "user_id": 123, "invited_by": 123, "source": "<string>" } '
{ "status": "<string>" }
Records which user invited another into the project.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Numeric project identifier
The ID of the referred user
The ID of the user who invited them
Optional source of the referral
Successfully recorded referral
Status of the referral processing