Portal sessions
Create Portal Session
Creates a Portal Session
Authorization
HTTPBearer AuthorizationBearer <token>
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
curl -X POST "https://api.members.dev/portal/v1/sessions/create" \ -H "Content-Type: application/json" \ -d '{ "organization_id": "org_01KKSMB47VYGW97GFE67VGDK7M" }'{
"id": "key_01KKSMB47VYGW97GFE67VGDK7M",
"key": "string",
"expires": 1893456000000
}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string",
"input": null,
"ctx": {}
}
]
}