POST
/
tenant
/
session
curl --request POST \
  --url https://api.drymerge.com/tenant/session \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "public_key": "<string>",
  "tenant_id": "<string>",
  "tenant_metadata": {}
}'
{
  "session_key": "<string>"
}

Authorizations

Authorization
string
headerrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
public_key
string

Your organization's public key.

tenant_id
string
required

The unique identifier of the tenant.

tenant_metadata
object

Arbitrary metadata about the tenant as a key-value store, where each value can be of any type.

Response

200 - application/json
session_key
string

The session key for the new tenant session.