create Envent Request
Endpoint
POST /api/create-event-request
Request Headers
{
"Accept": "application/json",
"Content-Type": "application/json",
"Bearer Token": "17|YROk6eOAMh8596SAONJr8KwQGzmqLXPaTBx5QdBn09989ab0"
}
Request Body
{
"event_id": "1",
"description": "Description text",
"files": "selected files" - multipart form data files added like array
}
Response Body (200)
{
"id": 28,
"description": "ehgwshtwrhthrt",
"files": [],
"status": "new",
"created_at": "2025-12-03T12:22:52.000000Z",
"updated_at": "2025-12-03T12:22:52.000000Z",
"user_id": 3,
"event_id": "1",
"requested_start": null,
"requested_end": null,
"event": {
"id": 1,
"name": "Event 1",
"picture": "http://0.0.0.0:8035/storage/events/01K4MP8EZ2D0WF9NSGD1A0AG5S.png"
}
}
Response Body (401)
{
"message": "Unauthenticated."
}
Response Body (422)
{
"errors": {
"service_id": [
"The selected service id is invalid."
]
}
}
04 December 2025