Add organization membership

POST/organization_member

Add a membership (work / education history) for the authenticated user. Unless you created the organization, the role is forced to MEMBER.

AuthLogin required

Request body

organizationIdstring

Organization ID; pass null to record the history without linking to an organization.

titlestring

Job title / department; no length limit.

startDatestringrequired

Start month in YYYY-MM format (required).

endDatestring

End month in YYYY-MM format; null while current. Must not be earlier than startDate.

currentboolean

Whether 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"
}