Write a record into a space. The author is always the JWT issuer. If rkey is omitted, a TID is generated.
Input
Encoding
application/jsoncollection
stringnsid
Required
A namespaced identifier (e.g., app.bsky.feed.post).
record
unknown
Required
No description available.
rkey
string
Optional
No description available.
spaceUri
stringat-uri
Required
An AT Protocol URI (e.g., at://did:plc:xyz/app.bsky.feed.post/abc).
Output
Encoding
application/jsonauthorDid
stringdid
Required
A decentralized identifier (DID).
createdAt
integer
Required
No description available.
rkey
string
Required
No description available.
Errors
NotFound
Forbidden
Try It
Requests are sent directly from your browser. Some servers may block requests due to CORS.
View raw schema
{
"type": "procedure",
"input": {
"schema": {
"type": "object",
"required": [
"spaceUri",
"collection",
"record"
],
"properties": {
"rkey": {
"type": "string"
},
"record": {
"type": "unknown"
},
"spaceUri": {
"type": "string",
"format": "at-uri"
},
"collection": {
"type": "string",
"format": "nsid"
}
}
},
"encoding": "application/json"
},
"errors": [
{
"name": "NotFound"
},
{
"name": "Forbidden"
}
],
"output": {
"schema": {
"type": "object",
"required": [
"rkey",
"authorDid",
"createdAt"
],
"properties": {
"rkey": {
"type": "string"
},
"authorDid": {
"type": "string",
"format": "did"
},
"createdAt": {
"type": "integer"
}
}
},
"encoding": "application/json"
},
"description": "Write a record into a space. The author is always the JWT issuer. If rkey is omitted, a TID is generated."
}