Skip to content

Developers

Endpoints.

Paths are relative to https://tailgator.parra.io/api/v1. Every call takes a bearer token. None of these check token scopes today; a token can do what its owner can.

Account

Get the current user

GET /user

Returns the user the token belongs to, including plan tier and notification preferences.

Success
200
Scopes
Any valid token
Request
curl https://tailgator.parra.io/api/v1/user \
  -H "Authorization: Bearer $TAILGATOR_TOKEN"
Response 200
{
  "user": {
    "id": "cm5f0wq7d0000z9y8x7w6v5u4",
    "email": "host@example.com",
    "name": "Jordan",
    "tier": "pro",
    "tierActiveUntil": "2027-01-01T00:00:00.000Z",
    "emailReminders": true,
    "pushReminders": true,
    "createdAt": "2026-03-01T12:00:00.000Z"
  }
}

List crews

GET /workspaces

Every crew (workspace) the user belongs to. A crew owns events, the address book, groups and series.

Success
200
Scopes
Any valid token
Request
curl https://tailgator.parra.io/api/v1/workspaces \
  -H "Authorization: Bearer $TAILGATOR_TOKEN"
Response 200
{
  "workspaces": [
    {
      "id": "cm5f0wz9e0000a8b3x1y2z3w4",
      "slug": "jordan",
      "name": "Jordan's crew",
      "role": "owner"
    }
  ]
}

Events

List events

GET /events

Events in the user's current crew, newest start time first, with counts of RSVPs, invites and supplies.

Success
200
Scopes
Any valid token
Request
curl https://tailgator.parra.io/api/v1/events \
  -H "Authorization: Bearer $TAILGATOR_TOKEN"
Response 200
{
  "events": [
    {
      "id": "cm5f0x2k10001a8b3c4d5e6f7",
      "workspaceId": "cm5f0wz9e0000a8b3x1y2z3w4",
      "hostId": "cm5f0wq7d0000z9y8x7w6v5u4",
      "template": "tailgate",
      "title": "Home opener tailgate",
      "description": "Lot C, look for the green canopy.",
      "location": "Lot C",
      "startsAt": "2026-09-12T16:00:00.000Z",
      "endsAt": "2026-09-12T20:00:00.000Z",
      "timezone": "America/Chicago",
      "status": "published",
      "shareCode": "K7M2QX9PRT",
      "allowPlusOnes": true,
      "maxPlusOnes": 2,
      "_count": {
        "rsvps": 14,
        "invites": 20,
        "supplies": 9
      }
    }
  ]
}

Create an event

POST /events

Creates an event in the user's current crew. startsAt and endsAt accept any date string JavaScript can parse; ISO 8601 is recommended. Emits event.created.

Success
201
Scopes
Any valid token
  • title is required (1 to 200 characters), as is startsAt.
  • template defaults to custom. recurrence is one of none, weekly, biweekly, monthly.
Request
curl -X POST https://tailgator.parra.io/api/v1/events \
  -H "Authorization: Bearer $TAILGATOR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"template":"tailgate","title":"Home opener tailgate","startsAt":"2026-09-12T16:00:00Z","endsAt":"2026-09-12T20:00:00Z","timezone":"America/Chicago","location":"Lot C","allowPlusOnes":true,"maxPlusOnes":2,"publish":true,"recurrence":"none"}'
Response 201
{
  "event": {
    "id": "cm5f0x2k10001a8b3c4d5e6f7",
    "workspaceId": "cm5f0wz9e0000a8b3x1y2z3w4",
    "hostId": "cm5f0wq7d0000z9y8x7w6v5u4",
    "template": "tailgate",
    "title": "Home opener tailgate",
    "description": "Lot C, look for the green canopy.",
    "location": "Lot C",
    "startsAt": "2026-09-12T16:00:00.000Z",
    "endsAt": "2026-09-12T20:00:00.000Z",
    "timezone": "America/Chicago",
    "status": "published",
    "shareCode": "K7M2QX9PRT",
    "allowPlusOnes": true,
    "maxPlusOnes": 2
  }
}

Get an event

GET /events/{eventId}

One event with its details. Callers outside the event's crew get the public view, with the invite list removed.

Success
200
Scopes
Any valid token
Request
curl https://tailgator.parra.io/api/v1/events/{eventId} \
  -H "Authorization: Bearer $TAILGATOR_TOKEN"
Response 200
{
  "event": {
    "id": "cm5f0x2k10001a8b3c4d5e6f7",
    "workspaceId": "cm5f0wz9e0000a8b3x1y2z3w4",
    "hostId": "cm5f0wq7d0000z9y8x7w6v5u4",
    "template": "tailgate",
    "title": "Home opener tailgate",
    "description": "Lot C, look for the green canopy.",
    "location": "Lot C",
    "startsAt": "2026-09-12T16:00:00.000Z",
    "endsAt": "2026-09-12T20:00:00.000Z",
    "timezone": "America/Chicago",
    "status": "published",
    "shareCode": "K7M2QX9PRT",
    "allowPlusOnes": true,
    "maxPlusOnes": 2
  }
}

Update an event

PATCH /events/{eventId}

Partial update. Send only the fields to change. Setting status to cancelled emails confirmed guests and emits event.cancelled.

Success
200
Scopes
Any valid token
  • Nullable text fields (description, location, address and others) accept null to clear them.
  • status is one of draft, published, cancelled.
Request
curl -X PATCH https://tailgator.parra.io/api/v1/events/{eventId} \
  -H "Authorization: Bearer $TAILGATOR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"title":"Home opener tailgate (moved to Lot D)","location":"Lot D"}'
Response 200
{
  "event": {
    "id": "cm5f0x2k10001a8b3c4d5e6f7",
    "workspaceId": "cm5f0wz9e0000a8b3x1y2z3w4",
    "hostId": "cm5f0wq7d0000z9y8x7w6v5u4",
    "template": "tailgate",
    "title": "Home opener tailgate (moved to Lot D)",
    "description": "Lot C, look for the green canopy.",
    "location": "Lot D",
    "startsAt": "2026-09-12T16:00:00.000Z",
    "endsAt": "2026-09-12T20:00:00.000Z",
    "timezone": "America/Chicago",
    "status": "published",
    "shareCode": "K7M2QX9PRT",
    "allowPlusOnes": true,
    "maxPlusOnes": 2
  }
}

Delete an event

DELETE /events/{eventId}

Deletes the event. Requires crew membership.

Success
204
Scopes
Any valid token
Request
curl -X DELETE https://tailgator.parra.io/api/v1/events/{eventId} \
  -H "Authorization: Bearer $TAILGATOR_TOKEN"

Responds 204 with an empty body.

RSVPs

List RSVPs

GET /events/{eventId}/rsvps

Every RSVP for the event, oldest first, plus a headcount summary.

Success
200
Scopes
Any valid token
Request
curl https://tailgator.parra.io/api/v1/events/{eventId}/rsvps \
  -H "Authorization: Bearer $TAILGATOR_TOKEN"
Response 200
{
  "rsvps": [
    {
      "id": "cm5f1a0b20003a8b3c4d5e6f7",
      "eventId": "cm5f0x2k10001a8b3c4d5e6f7",
      "email": "sam@example.com",
      "name": "Sam",
      "status": "going",
      "plusOnes": 1,
      "dietary": "Vegetarian",
      "comment": "Bringing chairs.",
      "createdAt": "2026-08-30T14:02:11.000Z"
    }
  ],
  "summary": {
    "going": 12,
    "maybe": 3,
    "cant": 2,
    "plusOnes": 5
  }
}

Record an RSVP

POST /events/{eventId}/rsvps

Records an RSVP on a guest's behalf, for example one given in person. Emits rsvp.created.

Success
201
Scopes
Any valid token
  • status is one of going, maybe, cant.
  • When the event is full the guest joins the waitlist instead and the response is 202 with { "waitlisted": true, "position": 4 }.
Request
curl -X POST https://tailgator.parra.io/api/v1/events/{eventId}/rsvps \
  -H "Authorization: Bearer $TAILGATOR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"email":"sam@example.com","name":"Sam","status":"going","plusOnes":1,"dietary":"Vegetarian"}'
Response 201
{
  "rsvp": {
    "id": "cm5f1a0b20003a8b3c4d5e6f7",
    "eventId": "cm5f0x2k10001a8b3c4d5e6f7",
    "email": "sam@example.com",
    "name": "Sam",
    "status": "going",
    "plusOnes": 1,
    "dietary": "Vegetarian",
    "comment": "Bringing chairs.",
    "createdAt": "2026-08-30T14:02:11.000Z"
  }
}

Supplies

Add a supply

POST /events/{eventId}/supplies

Adds an item to the event's supply list for guests to claim.

Success
201
Scopes
Any valid token
Request
curl -X POST https://tailgator.parra.io/api/v1/events/{eventId}/supplies \
  -H "Authorization: Bearer $TAILGATOR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"name":"Bag of ice","quantity":2,"notes":"Grab on the way"}'
Response 201
{
  "supply": {
    "id": "cm5f1c3d40005a8b3c4d5e6f7",
    "name": "Bag of ice",
    "quantity": 2,
    "notes": "Grab on the way"
  }
}

Messages

Post a message

POST /events/{eventId}/messages

Posts to the event thread. kind: "update" is a host announcement that is also emailed to guests. Emits message.posted.

Success
201
Scopes
Any valid token
  • Rate limited per user and event: update at 5 a minute, message at 10 a minute.
Request
curl -X POST https://tailgator.parra.io/api/v1/events/{eventId}/messages \
  -H "Authorization: Bearer $TAILGATOR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"body":"Parking opens at 9. See you there.","kind":"update"}'
Response 201
{
  "message": {
    "id": "cm5f1d4e50006a8b3c4d5e6f7",
    "eventId": "cm5f0x2k10001a8b3c4d5e6f7",
    "kind": "update",
    "body": "Parking opens at 9. See you there."
  }
}

People

List people

GET /people

The crew's address book. Pass ?q= to filter by name or email.

Success
200
Scopes
Any valid token
Request
curl https://tailgator.parra.io/api/v1/people \
  -H "Authorization: Bearer $TAILGATOR_TOKEN"
Response 200
{
  "people": [
    {
      "id": "cm5f1e5f60007a8b3c4d5e6f7",
      "name": "Sam",
      "email": "sam@example.com",
      "dietary": "Vegetarian"
    }
  ]
}

Add a person

POST /people

Adds someone to the crew's address book. Only name is required.

Success
201
Scopes
Any valid token
Request
curl -X POST https://tailgator.parra.io/api/v1/people \
  -H "Authorization: Bearer $TAILGATOR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"name":"Sam","email":"sam@example.com","dietary":"Vegetarian","kidsCount":0}'
Response 201
{
  "person": {
    "id": "cm5f1e5f60007a8b3c4d5e6f7",
    "name": "Sam",
    "email": "sam@example.com"
  }
}

Webhooks

List webhook endpoints

GET /webhooks

Your endpoints. The signing secret is masked to its last four characters.

Success
200
Scopes
Any valid token
Request
curl https://tailgator.parra.io/api/v1/webhooks \
  -H "Authorization: Bearer $TAILGATOR_TOKEN"
Response 200
{
  "endpoints": [
    {
      "id": "cm5f1f6g70008a8b3c4d5e6f7",
      "url": "https://example.com/hooks/tailgator",
      "events": [
        "rsvp.created",
        "supply.claimed"
      ],
      "active": true,
      "secret": "whsec_••••9f3a"
    }
  ]
}

Create a webhook endpoint

POST /webhooks

Registers a URL to receive events. The response is the only time the full signing secret is returned. Requires a Pro or Crew plan.

Success
201
Scopes
Any valid token
  • An empty events list subscribes to every event.
  • Free plans get 402 with code PAYMENT_REQUIRED.
Request
curl -X POST https://tailgator.parra.io/api/v1/webhooks \
  -H "Authorization: Bearer $TAILGATOR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"url":"https://example.com/hooks/tailgator","events":["rsvp.created","supply.claimed"]}'
Response 201
{
  "endpoint": {
    "id": "cm5f1f6g70008a8b3c4d5e6f7",
    "url": "https://example.com/hooks/tailgator",
    "events": [
      "rsvp.created",
      "supply.claimed"
    ],
    "active": true,
    "secret": "whsec_3b1f...9f3a"
  }
}

Update a webhook endpoint

PATCH /webhooks/{id}

Change the URL, the event list, or pause delivery with active: false.

Success
200
Scopes
Any valid token
Request
curl -X PATCH https://tailgator.parra.io/api/v1/webhooks/{id} \
  -H "Authorization: Bearer $TAILGATOR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"active":false}'
Response 200
{
  "endpoint": {
    "id": "cm5f1f6g70008a8b3c4d5e6f7",
    "active": false
  }
}

Delete a webhook endpoint

DELETE /webhooks/{id}

Removes the endpoint and stops delivery.

Success
204
Scopes
Any valid token
Request
curl -X DELETE https://tailgator.parra.io/api/v1/webhooks/{id} \
  -H "Authorization: Bearer $TAILGATOR_TOKEN"

Responds 204 with an empty body.

List recent deliveries

GET /webhooks/{id}/deliveries

Recent delivery attempts for one endpoint, newest first, with the response status your server returned. ?limit= defaults to 50, maximum 200.

Success
200
Scopes
Any valid token
Request
curl https://tailgator.parra.io/api/v1/webhooks/{id}/deliveries \
  -H "Authorization: Bearer $TAILGATOR_TOKEN"
Response 200
{
  "deliveries": [
    {
      "id": "cm5f1g7h80009a8b3c4d5e6f7",
      "event": "rsvp.created",
      "status": "sent",
      "responseStatus": 200,
      "attemptCount": 1,
      "lastAttemptAt": "2026-08-30T14:05:00.000Z"
    }
  ]
}

API tokens

List API tokens

GET /api-tokens

Your unrevoked tokens. Only the prefix is returned, never the secret.

Success
200
Scopes
Any valid token
Request
curl https://tailgator.parra.io/api/v1/api-tokens \
  -H "Authorization: Bearer $TAILGATOR_TOKEN"
Response 200
{
  "tokens": [
    {
      "id": "cm5f1h8i9000aa8b3c4d5e6f7",
      "name": "Zapier",
      "prefix": "pp_live_a1b2c3d4e5f6",
      "scopes": [],
      "lastUsedAt": null
    }
  ]
}

Create an API token

POST /api-tokens

Issues a new token. fullToken appears in this response only; store it somewhere safe. Requires a Pro or Crew plan.

Success
201
Scopes
Any valid token
  • Free plans get 402 with code PAYMENT_REQUIRED.
Request
curl -X POST https://tailgator.parra.io/api/v1/api-tokens \
  -H "Authorization: Bearer $TAILGATOR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"name":"Zapier"}'
Response 201
{
  "id": "cm5f1h8i9000aa8b3c4d5e6f7",
  "prefix": "pp_live_a1b2c3d4e5f6",
  "fullToken": "pp_live_a1b2c3d4e5f6_<48 hex characters>"
}

Revoke an API token

DELETE /api-tokens/{id}

Revokes the token. Requests made with it fail with 401 from then on.

Success
204
Scopes
Any valid token
Request
curl -X DELETE https://tailgator.parra.io/api/v1/api-tokens/{id} \
  -H "Authorization: Bearer $TAILGATOR_TOKEN"

Responds 204 with an empty body.