API Endpoints
Explore our comprehensive API endpoints to power your digital services
Read
Use the following endpoints to retrieve resources.
Endpoint
GET /api/v1/categories?q=&limit=2&cursor=sdzmwTzWvDQVX0acZTvH_
Request Parameters
- q - Search query.
- cursor - Cursor for pagination (optional).
- limit - Number of items per page.
Request Headers
- x-api-key - Your API key.
Response Payload
{"data": [{"id": "sdzmwTzWvDQVX0acZTvH_","name": "Anfac Plus","description": "Hormuud anfac plus","provider": {"id": "AwvX_RH199BqacrhFw1e3","name": "Hormuud","image": "https://toptayo.com/media/toptayo/hormuud-1723981822647.webp","description": "Hormuud Telecom"}},{"id": "j1hb3LqQVk9o91ACO3z1_","name": "Anfac Ku Hadal","description": "Hormuud anfac ku hadal","provider": {"id": "AwvX_RH199BqacrhFw1e3","name": "Hormuud","image": "https://toptayo.com/media/toptayo/hormuud-1723981822647.webp","description": "Hormuud Telecom"}}],"nextCursor": "j1hb3LqQVk9o91ACO3z1_"}
Status Codes
- 200 OK - The request was successful.
- 401 Unauthorized - The request was not authorized.
- 404 Not Found- The requested resource was not found.