We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 51fd989 commit f4d17dbCopy full SHA for f4d17db
pages/public-api.mdx
@@ -111,6 +111,34 @@ Response:
111
}
112
```
113
114
+<br />
115
+### Upload a new file from an existing URL
116
+
117
+```http
118
+POST https://api.postiz.com/public/v1/upload-from-url
119
+```
120
121
+Payload:
122
123
+```json
124
+{
125
+ "url": "Your URL path"
126
+}
127
128
129
+Response:
130
131
132
133
+ "id": "e639003b-f727-4a1e-87bd-74a2c48ae41e",
134
+ "name": "vXJYn8EzSB.png",
135
+ "path": "https://uploads.gitroom.com/vXJYn8EzSB.png",
136
+ "organizationId": "85460a39-6329-4cf4-a252-187ce89a3480",
137
+ "createdAt": "2024-12-14T08:18:54.274Z",
138
+ "updatedAt": "2024-12-14T08:18:54.274Z"
139
140
141
142
---
143
144
<br />
0 commit comments