Create or update a member

POST {{baseUrl}}/:workspace_slug/members

This method is useful when you know a member's identity in another system and want to create or update the corresponding Orbit member. Identities can be specified in the identity object or member attributes like member.github. If no member exists, a new member will be created and linked to any provided identities.

Request Body

{"member"=>{"bio"=>"<string>", "birthday"=>"<string>", "company"=>"<string>", "title"=>"<string>", "location"=>"<string>", "name"=>"<string>", "pronouns"=>"<string>", "shipping_address"=>"<string>", "slug"=>"<string>", "tags_to_add"=>"<string>", "tags"=>"<string>", "tag_list"=>"<string>", "tshirt"=>"<string>", "teammate"=>"<boolean>", "url"=>"<string>", "github"=>"<string>", "twitter"=>"<string>", "email"=>"<string>", "linkedin"=>"<string>", "devto"=>"<string>"}, "identity"=>{"source"=>"<string>", "name"=>"<string>", "source_host"=>"<string>", "username"=>"<string>", "uid"=>"<string>", "email"=>"<string>", "url"=>"<string>"}}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: Created

{&quot;data&quot;:{&quot;id&quot;:&quot;jdpSxX&quot;,&quot;type&quot;:&quot;member&quot;,&quot;attributes&quot;:{&quot;activities_count&quot;:0,&quot;activities_score&quot;:0,&quot;avatar_url&quot;:&quot;https://avatars2.githubusercontent.com/u/174777?u=79e423dd07c19122115f52a1c97727ca193e6253\u0026v=4&quot;,&quot;bio&quot;:&quot;Co-founder \u0026 CTO @orbit-love · Developer Advocate · formerly @algolia and @keen&quot;,&quot;birthday&quot;:null,&quot;company&quot;:&quot;@orbit-love&quot;,&quot;title&quot;:null,&quot;created_at&quot;:&quot;2022-03-22T10:10:40.231Z&quot;,&quot;deleted_at&quot;:null,&quot;first_activity_occurred_at&quot;:null,&quot;last_activity_occurred_at&quot;:null,&quot;location&quot;:&quot;Paris&quot;,&quot;name&quot;:&quot;Josh Dzielak&quot;,&quot;pronouns&quot;:null,&quot;reach&quot;:8,&quot;shipping_address&quot;:null,&quot;slug&quot;:&quot;dzello&quot;,&quot;source&quot;:&quot;api&quot;,&quot;tag_list&quot;:[&quot;one&quot;,&quot;two&quot;],&quot;tags&quot;:[&quot;one&quot;,&quot;two&quot;],&quot;teammate&quot;:false,&quot;tshirt&quot;:null,&quot;updated_at&quot;:&quot;2022-03-22T10:10:40.353Z&quot;,&quot;merged_at&quot;:null,&quot;url&quot;:&quot;https://dzello.com/&quot;,&quot;orbit_url&quot;:&quot;http://localhost:3000/marshallschmeler/members/dzello&quot;,&quot;created&quot;:true,&quot;id&quot;:&quot;jdpSxX&quot;,&quot;orbit_level&quot;:null,&quot;love&quot;:null,&quot;twitter&quot;:&quot;dzello&quot;,&quot;github&quot;:&quot;dzello&quot;,&quot;discourse&quot;:null,&quot;email&quot;:&quot;josh@orbit.love&quot;,&quot;devto&quot;:null,&quot;linkedin&quot;:null,&quot;discord&quot;:null,&quot;github_followers&quot;:171,&quot;twitter_followers&quot;:null,&quot;topics&quot;:null,&quot;languages&quot;:null},&quot;relationships&quot;:{&quot;identities&quot;:{&quot;data&quot;:[{&quot;id&quot;:&quot;nqaT2R&quot;,&quot;type&quot;:&quot;github_identity&quot;},{&quot;id&quot;:&quot;1mzT7N&quot;,&quot;type&quot;:&quot;twitter_identity&quot;},{&quot;id&quot;:&quot;32LTa0&quot;,&quot;type&quot;:&quot;email_identity&quot;}]}}},&quot;included&quot;:[{&quot;id&quot;:&quot;nqaT2R&quot;,&quot;type&quot;:&quot;github_identity&quot;,&quot;attributes&quot;:{&quot;uid&quot;:&quot;174777&quot;,&quot;email&quot;:null,&quot;username&quot;:&quot;dzello&quot;,&quot;name&quot;:&quot;Josh Dzielak&quot;,&quot;source&quot;:&quot;github&quot;,&quot;source_host&quot;:&quot;github.com&quot;}},{&quot;id&quot;:&quot;1mzT7N&quot;,&quot;type&quot;:&quot;twitter_identity&quot;,&quot;attributes&quot;:{&quot;uid&quot;:null,&quot;email&quot;:null,&quot;username&quot;:&quot;dzello&quot;,&quot;name&quot;:null,&quot;source&quot;:&quot;twitter&quot;,&quot;source_host&quot;:&quot;twitter.com&quot;}},{&quot;id&quot;:&quot;32LTa0&quot;,&quot;type&quot;:&quot;email_identity&quot;,&quot;attributes&quot;:{&quot;uid&quot;:&quot;josh@orbit.love&quot;,&quot;email&quot;:&quot;josh@orbit.love&quot;,&quot;username&quot;:null,&quot;name&quot;:&quot;josh&quot;,&quot;source&quot;:&quot;email&quot;,&quot;source_host&quot;:&quot;email.host&quot;}}]}