Skip to content

Gathering routes: register

The Gathering Verbs register as api.sb routes, with inputs, result, refusals and an example.

Reference for Gathering, one group of Gathering routes.

Gathering.register

Register gives a Contact a place at a Gathering, or a waitlist place when the Gathering is full. Verb page.

Text
POST /{namespace}/gatherings/{gathering}/register

Path: gathering. Body, as JSON: the other inputs. Emits Gathering.registered.

Inputs

InputTypeRequiredDescription
gatheringGatheringrequiredThe Gathering.
contactContactrequiredWho takes the place.

Returns

OutputTypeRequiredDescription
registrationRegistrationrequiredThe Registration, registered or waitlisted.
gatheringGatheringrequiredThe Gathering with its registered count.

Refuses when

CheckErrorFixThen call
The key is valid, but its scopes do not allow this operation.forbiddenUse a key whose scopes cover the operation, or ask an owner of the namespace to grant them.None.

Example

Terminal
curl -X POST https://api.sb/leaseline.app/gatherings/gathering_ACB9Q1atRR/register \
  -H "Authorization: Bearer $STARTUP_BUILDER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"contact":"contact_WsrosCQi6J"}'
JSON
{
  "api": "https://api.sb/leaseline.app",
  "registration": {
    "$id": "https://api.sb/leaseline.app/registrations/registration_95lvb7R17L",
    "$type": "Registration",
    "status": "invited"
  },
  "gathering": {
    "$id": "https://api.sb/leaseline.app/gatherings/gathering_ACB9Q1atRR",
    "$type": "Gathering",
    "title": "Leaseline Pro",
    "at": "2026-10-22T12:00:00Z"
  },
  "action": {
    "$id": "https://api.sb/leaseline.app/actions/act_br07HsG8MG",
    "operation": "Gathering.register",
    "status": "done"
  },
  "links": {
    "self": "https://api.sb/leaseline.app/actions/act_br07HsG8MG"
  }
}