Resources API

Submit a community resource

Anyone with a developer key can propose a new resource. Submissions enter a review queue and go live only after a Bynli moderator approves them.

Endpoint

POSTbynli.com
POST https://bynli.com/dash/api/resources/submit
Authorization: Bearer bapi_pk_…
Content-Type: application/json

Request body

FieldTypeRequiredNotes
namestringYesDisplay name, under 200 characters.
descriptionstringNoOne or two sentences on what it does.
categorystringNoOne of the category slugs. If omitted, it's inferred from your text.
addressstringNoSingle-line street address.
phonestringNoContact phone.
websitestringNoPublic URL.
hoursstringNoFree-text hours.
team_idintegerNoOptional hint for which organization's directory you think this belongs to. A moderator makes the final call.

Example

curlbynli.com
curl -X POST https://bynli.com/dash/api/resources/submit \
  -H "Authorization: Bearer bapi_pk_…" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "Neighborhood Free Fridge",
    "description": "24/7 community fridge at 5th & Main",
    "category": "food",
    "address": "500 Main St",
    "website": "https://example.org"
  }'

Response

202 Acceptedapplication/json
{
  "success": true,
  "id": 312,
  "status": "pending",
  "message": "Submission received. A Bynli moderator will review it before it goes live."
}
Be a good neighbor. Duplicate, spammy, or unrelated submissions are rejected. Repeated low-quality submissions from the same key may slow down or block further reviews from that key.

Errors

StatusWhen
401Missing or invalid bearer token.
403Your key doesn't have the submission scope.
422name is missing or too long.
429You've submitted a lot recently — slow down and retry later.

What happens after you submit

  1. A Bynli moderator reviews your submission.
  2. If approved, the resource goes live in the organization's directory.
  3. If rejected, it's marked as such and won't be shown.