@@ -805,6 +805,79 @@ __Response:__
805805
806806Returns ` 204 No Content ` on success.
807807
808+ ## Pins
809+
810+ Pins let users keep quick access to important cards.
811+
812+ ### ` POST /:account_slug/cards/:card_number/pin `
813+
814+ Pins a card for the current user.
815+
816+ __ Response:__
817+
818+ Returns ` 204 No Content ` on success.
819+
820+ ### ` DELETE /:account_slug/cards/:card_number/pin `
821+
822+ Unpins a card for the current user.
823+
824+ __ Response:__
825+
826+ Returns ` 204 No Content ` on success.
827+
828+ ### ` GET /my/pins `
829+
830+ Returns the current user's pinned cards. This endpoint is not paginated and returns up to 100 cards.
831+
832+ __ Response:__
833+
834+ ``` json
835+ [
836+ {
837+ "id" : " 03f5vaeq985jlvwv3arl4srq2" ,
838+ "number" : 1 ,
839+ "title" : " First!" ,
840+ "status" : " published" ,
841+ "description" : " Hello, World!" ,
842+ "description_html" : " <div class=\" action-text-content\" ><p>Hello, World!</p></div>" ,
843+ "image_url" : null ,
844+ "tags" : [" programming" ],
845+ "golden" : false ,
846+ "last_active_at" : " 2025-12-05T19:38:48.553Z" ,
847+ "created_at" : " 2025-12-05T19:38:48.540Z" ,
848+ "url" : " http://fizzy.localhost:3006/897362094/cards/4" ,
849+ "board" : {
850+ "id" : " 03f5v9zkft4hj9qq0lsn9ohcm" ,
851+ "name" : " Fizzy" ,
852+ "all_access" : true ,
853+ "created_at" : " 2025-12-05T19:36:35.534Z" ,
854+ "url" : " http://fizzy.localhost:3006/897362094/boards/03f5v9zkft4hj9qq0lsn9ohcm" ,
855+ "creator" : {
856+ "id" : " 03f5v9zjw7pz8717a4no1h8a7" ,
857+ "name" : " David Heinemeier Hansson" ,
858+ "role" : " owner" ,
859+ "active" : true ,
860+ "email_address" : " david@example.com" ,
861+ "created_at" : " 2025-12-05T19:36:35.401Z" ,
862+ "url" : " http://fizzy.localhost:3006/897362094/users/03f5v9zjw7pz8717a4no1h8a7" ,
863+ "avatar_url" : " http://fizzy.localhost:3006/897362094/users/03f5v9zjw7pz8717a4no1h8a7/avatar"
864+ }
865+ },
866+ "creator" : {
867+ "id" : " 03f5v9zjw7pz8717a4no1h8a7" ,
868+ "name" : " David Heinemeier Hansson" ,
869+ "role" : " owner" ,
870+ "active" : true ,
871+ "email_address" : " david@example.com" ,
872+ "created_at" : " 2025-12-05T19:36:35.401Z" ,
873+ "url" : " http://fizzy.localhost:3006/897362094/users/03f5v9zjw7pz8717a4no1h8a7" ,
874+ "avatar_url" : " http://fizzy.localhost:3006/897362094/users/03f5v9zjw7pz8717a4no1h8a7/avatar"
875+ },
876+ "comments_url" : " http://fizzy.localhost:3006/897362094/cards/4/comments"
877+ }
878+ ]
879+ ```
880+
808881## Comments
809882
810883Comments are attached to cards and support rich text.
0 commit comments