Find a partner of a programme by email, with their links
GET/api/v1/programs/:id/partners/lookup
Takes a secret API key (sk_test_*, sk_live_*) or a dashboard session. The key's mode selects test or live. The email is the one the partner applied with, as the dashboard shows it, and matches without regard to case. Returns the partner as GET /programs/{id}/partners/{partnerId} does, the partner's referral links (newest first, at most 50; empty when the partner has created none) and the recruit link (null when it does not work now, by the rule of the partner portal).
Request
Responses
- 200
- 400
- 401
- 404
The partner, their referral links and their recruit link
No valid email address
No key, or an unknown key
No partner with this email in this programme, workspace and mode