Add organization membership
POST
/organization_memberAdd a membership (work / education history) for the authenticated user. Unless you created the organization, the role is forced to MEMBER.
| Auth | Login required |
|---|
Request body
organizationIdstringOrganization ID; pass null to record the history without linking to an organization.
titlestringJob title / department; no length limit.
startDatestringrequiredStart month in YYYY-MM format (required).
endDatestringEnd month in YYYY-MM format; null while current. Must not be earlier than startDate.
currentbooleanWhether the membership is current; when true, endDate should be null.
Request
curl https://api.4s.link/organization_member \-X POST \-H "Authorization: Bearer 4s_at_..." \-H "Content-Type: application/json" \-d '{"organizationId": "o1a2b3c4-...","title": "Software Engineer","startDate": "2024-04-01","current": true}'
Example response
{"id": "om1a2b3c-...","organizationId": "o1a2b3c4-...","title": "Software Engineer","startDate": "2024-04-01","endDate": null,"current": true,"role": "MEMBER"}