POST
/
data
/
text
curl --request POST \
  --url https://{capsule-id}.sid.ai/data/text \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/x-www-form-urlencoded' \
  --data 'content=<string>' \
  --data 'metadata=<string>' \
  --data time_authored=2023-11-07T05:31:56Z \
  --data 'uri=<string>'

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <API_KEY>. API keys can be generated in the dashboard.

Body

application/x-www-form-urlencoded
content
string
required

Text content to add to the capsule

metadata
string

JSON string of metadata associated with the text

time_authored
string

The time when the text was originally authored (RFC3339 format)

uri
string

URI associated with the text

Response

202
_mintlify/placeholder

Text accepted