Create Note
Attach a note to an entity.
An entity can hold at most one note, so creating a second note for the same
entity_id returns 409. Use the update endpoint to change existing content.
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
account_id
Request
This endpoint expects an object.
content
The note's text content. No length limit.
entity_id
ID of the entity to attach the note to. Any entity's ID is accepted. Maximum 255 characters.
Response
Successful Response
id
Unique identifier for the note, prefixed note_.
content
The note's text content.
entity_id
ID of the entity this note is attached to, such as a customer (cus_...), subscription (sub_...), or invoice (in_...).
created_at
When the note was created (UTC).
updated_at
When the note was last modified (UTC). Equals created_at until the first update.
Errors
409
Conflict Error
422
Unprocessable Entity Error