API specification for Glomo (1.0.0)
The Glomo API follows REST architecture, utilizing resource-oriented URLs for clarity. It handles form-encoded request bodies, delivers responses in JSON format, and operates with standard HTTP methods, authentication, and response codes.
You can download the complete API collection by using the download options on the right.
Download OpenAPI description
Overview
Languages
Servers
Production server
https://api.glomopay.com/api/v1/
- Production server
https://api.glomopay.com/api/v1/document
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://api.glomopay.com/api/v1/document \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: multipart/form-data' \
-F document_name=invoice \
-F file=string
Response
application/json
{ "id": "doc_nYUqLpuYQ0M8", "document_name": "invoice", "file_name": "invoice_BC8tFdE.pdf", "status": "uploaded", "created_at": "2021-06-01T12:00:00Z", "updated_at": "2021-06-01T12:00:00Z" }
Query
ISO-8601 timestamp in UTC to filter resources created before this time. Use this to avoid Page drift
issue. See Pagination parameters for more details.
Example: before=2025-02-18T12:03:44Z
ISO-8601 timestamp in UTC to filter resources created after this time. Use this to avoid Page drift
issue. See Pagination parameters for more details.
Example: after=2025-01-18T12:03:44Z
- Production server
https://api.glomopay.com/api/v1/document
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://api.glomopay.com/api/v1/document?before=2025-02-18T12%3A03%3A44Z&after=2025-01-18T12%3A03%3A44Z&per_page=20&page=1' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'
Response
application/json
{ "data": [ { … } ], "page_meta": { "current": 2, "previous": 1, "next": 3, "per_page": 20, "pages": 10, "count": 200 } }