Open Morse

Reference

Organisation

10 routes, generated from Morse’s own OpenAPI document. Every path below hangs off the base URL, and every one needs the bearer header.

The examples are built from each route’s schema, so the shapes and types are exactly what the API declares. The values are illustrative, and no one has run them.

Your organisation, or null.

GET/organisation

Takes up an invite to your address first.

GET/organisation

curl "$MORSE/organisation" \
  -H "Authorization: Bearer $MORSE_TOKEN"

Make your organisation, or change the one you made.

PUT/organisation

PUT/organisation

curl -X PUT "$MORSE/organisation" \
  -H "Authorization: Bearer $MORSE_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{ "name": "Priya Shah" }'
200
{
  "can_manage": true,
  "description": "…",
  "id": "3f9c1a24-5e6f-4b31-9a77-1b2c3d4e5f60",
  "logo_version": "…",
  "name": "Priya Shah",
  "slug": "…",
  "website": "…"
}

Take your company off your account.

DELETE/organisation

If you made it, it's deleted, and anyone who joined it is left without one; if you joined it, you leave it.

DELETE/organisation

curl -X DELETE "$MORSE/organisation" \
  -H "Authorization: Bearer $MORSE_TOKEN"

Who has been invited to your organisation, and who has joined.

GET/organisation/invites

Owner only.

GET/organisation/invites

curl "$MORSE/organisation/invites" \
  -H "Authorization: Bearer $MORSE_TOKEN"
200
[
  {
    "accepted": true,
    "email": "priya@neuralarc.ai"
  }
]

Invite an email address; whoever signs in with it joins.

POST/organisation/invites

Owner only.

POST/organisation/invites

curl -X POST "$MORSE/organisation/invites" \
  -H "Authorization: Bearer $MORSE_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{ "email": "priya@neuralarc.ai" }'
201
{
  "accepted": true,
  "email": "priya@neuralarc.ai",
  "emailed": "priya@neuralarc.ai"
}

Withdraw an invite nobody has taken up yet.

DELETE/organisation/invites/{address}

Owner only.

DELETE/organisation/invites/{address}

curl -X DELETE "$MORSE/organisation/invites/…" \
  -H "Authorization: Bearer $MORSE_TOKEN"

Whether company.onmorse.com is yours to take — a courtesy; PUT guards.

GET/organisation/slug

GET/organisation/slug

curl "$MORSE/organisation/slug?slug=%E2%80%A6" \
  -H "Authorization: Bearer $MORSE_TOKEN"
200
{
  "available": true,
  "reason": "…",
  "slug": "…"
}