Bluesky icon

Bluesky

Interact with the Bluesky social platform

Actions94

Repo → Create Record

AI-generated

Summary

Create a new record within a specified collection in a Bluesky repo, optionally specifying a record key override.

Inputs

  • Repo (DID or Handle) (required) — The DID or handle identifying the Bluesky repo where the record will be created.
  • Collection NSID (required) — The namespace identifier of the record collection, such as app.bsky.feed.post.
  • Optional rkey — An optional record key override to specify a custom key for the new record.
  • Record JSON (required) — A JSON-formatted string representing the record object to write into the collection.

Output shape

A single record representing the created item returned from the API call.

The output includes the created record data as returned by the Bluesky API for the new record. No pagination applies. Errors during creation are surfaced as execution errors.

Examples

Example 1: Create a new post record in the feed collection with a custom record key.

Provide the DID or handle of the target repo, set the collection to 'app.bsky.feed.post', specify an optional rkey if desired, and provide the JSON object of the post's data in the Record JSON parameter.

Links

Discussion