me

Select an accessible organization by slug and return the updated session

Requires the browser session cookie issued by login and an X-CSRF-Token obtained from GET /api/v1/auth/csrf with that same cookie. Bearer credentials are not supported.

post/api/v1/me/organization_session

Request

  • Base URL
    https://composal.com (the document declares no server; this is the origin it was published from)
  • URL
    https://composal.com/api/v1/me/organization_session
  • Auth
    API key in cookie _vex_api_session and API key in header X-CSRF-Token

Request body

organization_slugstring required

Response

Authenticated session

idstring required
emailstring email required
namestring nullable required
picture_urlstring nullable required
superadminboolean
analytics_distinct_idstring
commit_author_emailstring email required
github_prs_authored_by_change_authorboolean required
github_pr_user_authorization_connectedboolean required
github_pr_user_authorization_loginstring nullable required
pending_organization_invitation_countinteger required
pending_organization_invitation_count_labelstring required
enabled_featuresstring[] required
api_tokenstring
api_base_urlstring uri

Changes

No recorded changes to this operation across all 4 revisions of this API.