{ "title": "Create an Affiliate", "description": "Example request and response for creating a new affiliate in Tapfiliate.", "request": { "method": "POST", "url": "https://api.tapfiliate.com/1.6/affiliates/", "headers": { "Content-Type": "application/json", "X-Api-Key": "YOUR_API_KEY" }, "body": { "email": "affiliate@example.com", "firstname": "Jane", "lastname": "Doe", "meta_data": { "website": "https://janedoe-blog.com", "niche": "SaaS tools" } } }, "response": { "status": 201, "headers": { "Content-Type": "application/json" }, "body": { "id": "af_eXampl3", "email": "affiliate@example.com", "firstname": "Jane", "lastname": "Doe", "created_at": "2026-06-13T10:00:00+00:00", "group": null, "meta_data": { "website": "https://janedoe-blog.com", "niche": "SaaS tools" }, "referral_link": "https://app.tapfiliate.com/r/janedoe/", "coupon": null, "parent": null } } }