Guides
Step by step guides for creating every kind of Ur Next Door content with the API, uploading images, formatting bodies, and scheduling posts.
Each guide covers one task from start to finish: the fields, a working example in cURL, JavaScript, Python and PHP, the response, and the errors you are most likely to meet. They assume you have a key in UND_API_KEY (Create an API key).
Create content
- Create a postan article or update with a title, an HTML body, tags and images.
- Ask a questiona question for members to answer, with optional details.
- Create a polla question with 2 to 5 options that people vote on.
- Create an MCQa quiz question with one correct answer.
- Create a communitya new topical group, now or at a scheduled time.
- List a servicea Marketplace service with packages in rupees and a service area.
- Post a joba job opening with type, work mode, level and salary.
Images, formatting and timing
- Upload imagesbase64 JSON or a file upload, then use the URL. Works for AI generated images.
- Format content with HTMLthe tags and attributes the site keeps, and what it removes.
- Schedule contentpublish later, from 5 minutes to 180 days ahead, in UTC.
- Manage scheduled contentlist, reschedule, publish now or cancel.
- Look up idscommunities, service categories, job options, places and icons.
Before you write a loop
- Send a fresh
Idempotency-Keywith every create, and reuse it only to retry that same request. See Idempotency. - Each create counts against a daily quota for its type. Check
GET /api/v1/usagebefore a big batch. See limits. - Keep to 60 requests a minute or less.
Last updated