Nimbu Developer Docs
ReferenceChannel Entries

Create an entry

POST
/channels/{channel_id}/entries

Creates a channel entry. Non-master tokens must pass channel create ACL checks. Master tokens bypass ACL unless use_acl=true and can set _acl and _owner in the payload.

Authorization

AuthorizationBearer <token>

Personal access token tied to a user account. Requires the X-Nimbu-Site header to scope requests.

In: header

X-Nimbu-Site<token>

Identifier of the site context when authenticating with a personal access token.

In: header

Path Parameters

channel_id*string

Channel identifier

Query Parameters

use_acl?boolean

When true, applies customer ACL filtering to master-token requests.

Header Parameters

Session-Token?string

Customer session token used for channel create ACL checks. X-Nimbu-Session-Token is also accepted.

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://example.com/channels/string/entries" \  -H "Content-Type: application/json" \  -d '{}'
{
  "id": "string",
  "url": "http://example.com",
  "short_id": "string",
  "slug": "string",
  "channel": "string",
  "created_at": "2019-08-24T14:15:22Z",
  "updated_at": "2019-08-24T14:15:22Z",
  "title_field_value": "string",
  "_acl": {
    "property1": {
      "create": true,
      "read": true,
      "update": true,
      "delete": true
    },
    "property2": {
      "create": true,
      "read": true,
      "update": true,
      "delete": true
    }
  },
  "_owner": "string"
}
Empty