Referral links
/referral-links
This endpoint allows you to create a new referral link by providing the necessary details.
Request Body
Response
The response for this request is an empty array with a 201 HTTP Code
POST
/referral-links
Authorization
Authorization
RequiredBearer <token>In: header
Request Body
application/json
OptionalResponse Body
Successful response
curl -X POST "https://api.nodiref.com/referral-links" \
-H "Authorization: Bearer <token>" \
-H "Content-Type: application/json" \
-d '{
"partner_id": "9ecebae1-5743-4698-bf24-a0ed05ee3ac7",
"code": "abcdefg",
"target_url": "https://google.com"
}'
Empty