Skip to content

Commit d32be71

Browse files
committed
feat: query params
1 parent f4b0f20 commit d32be71

File tree

1 file changed

+2
-9
lines changed

1 file changed

+2
-9
lines changed

pages/public-api.mdx

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -99,21 +99,14 @@ Response:
9999
GET https://api.postiz.com/public/v1/posts?startDate=2024-12-14T08:18:54.274Z&endDate=2024-12-14T08:18:54.274Z&customer=optionalCustomerId
100100
```
101101

102+
Query Parameters:
103+
102104
| Property | Type | Required | Description |
103105
| --------- | -------- | -------- | ---------------------- |
104106
| startDate | `string` | Yes | UTC date in ISO format |
105107
| endDate | `string` | Yes | UTC date in ISO format |
106108
| customer | `string` | No | Customer ID |
107109

108-
Payload
109-
110-
```json
111-
{
112-
"startDate": "UTC date in ISO format - ex. 2024-12-14T08:18:54.274Z",
113-
"endDate": "UTC date in ISO format - ex. 2024-12-14T08:18:54.274Z",
114-
"customer"?: "optional customer id for filtering"
115-
}
116-
```
117110

118111
Response:
119112

0 commit comments

Comments
 (0)