Resolve resource by slug
GET
/slug/:slugResolve the resource (user / organization / community / event) for a slug. Matched in order: user → organization → community → event.
| Auth | Optional (login-aware) |
|---|
Path parameters
slugstringrequiredSlug (case-insensitive)
Response
| Field | Type | Description |
|---|---|---|
type | 'user' | 'organization' | 'community' | 'event' | Resolved resource type |
data | object | The resource detail object |
Request
curl https://api.4s.link/slug/my-slug \-H "Authorization: Bearer 4s_at_..."
Example response
{"type": "event","data": {"id": "e1f2a3b4-...","slug": "tech-conf-2026","title": "4S Tech Conference 2026","state": "PUBLISHED","hasInvitationTickets": false}}