---
title: "Create an entry"
method: POST
path: "/entries"
tags: ["Entries/Places"]
---

# Create an entry

`POST /entries`

## Request body

- NewEntryWithLicense
  - `title` string, required
  - `description` string, required
  - `lat` number, double, required — Geographic latitude (in degrees)
  - `lng` number, double, required — Geographic longitude (in degrees)
  - `street` string
  - `zip` string
  - `city` string
  - `country` string
  - `state` string
  - `email` string — An e-mail address of a user
  - `telephone` string
  - `homepage` string
  - `opening_hours` string — The opening hours in OpenStreetMap format. Specification: https://wiki.openstreetmap.org/wiki/Key:opening_hours Reference implementations: https://github.com/opening-hours/ Generator tool: https://projets.pavie.info/yohours/ The service trims leading/trailing whitespaces and stores values as is. Values are currently not validated against the OSM format syntax!
  - `categories` string[]
  - `tags` Tag[]
  - `image_url` string
  - `image_link_url` string
  - `links` CustomLink[] — An unordered list of custom links. The ordering of list items may change between different revisions even if this list has not been modified. Don't make any assumptions about a particular ordering!
    - `url` string, required
    - `title` string
    - `description` string
  - `license` string, required

## Response `200`

Successful response

## Changes

- **2020-08-13** `ddfd4e39c98d` — 4 breaking, 4 warning, 4 info
  - the request property `allOf[subschema #2]/license` became required
  - the `allOf[#/components/schemas/NewEntry]/email` request property's minLength was increased from `0` to `3`
  - the `allOf[#/components/schemas/NewEntry]/email` request property type changed from no type to `string`
  - the `allOf[#/components/schemas/NewEntry]/telephone` request property type changed from no type to `string`
  - …8 more

[Change history](https://skmtc.dev/kartevonmorgen/apis/openfairdb-api/changes/entries/post.md)

---

[API](https://skmtc.dev/kartevonmorgen/apis/openfairdb-api.md) · [All operations](https://skmtc.dev/kartevonmorgen/apis/openfairdb-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/kartevonmorgen/openfairdb-api/revisions/ddfd4e39c98d/schema)
