Events
GET /events
Retrieve a list events
Parameter
Type
Required
Description
limit
query
No
Items per page returned. Default: 25, Max: 100
page
query
No
Number of the page returned. Default: 0
Example
Response
Errors
HttpCode
HttpCode Name
Code
Description
200
ok
ok
Request successful
400
bad request
bad_request
Invalid parameters, view message for more details
500
internal error
internal_error
Unexpected error
POST /events
Create a new event.
Parameter
Required
Description
name
Yes
Event name, only accepted alphanumeric characters and "-"
JSON Body format
Example
This is a curl example:
Response
This is a curl example:
Errors
HttpCode
HttpCode Name
Code
Description
200
ok
ok
Request successful
400
bad request
bad_request
Invalid parameters or duplicated event, view message for more details
500
internal error
internal_error
Unexpected error
POST /user-events
Associate an event to user
JSON Body format
Recuerda que el "service_uid" puede variar. Hay cuentas que utilizan el correo y otras que pueden usar el documento o un id interno. Utilizar el indicado para tu cuenta, en caso de no saber cual es consulta con el equipo de soporte.
Si se envia el campo "datetime" en el formato del ejemplo, por default interpreta que esta en UTC. Para utilizar tu timezone, es necesario formatear la fecha bajo el standard ISO 8601.
Ejemplo GMT-5: 2004-02-12T15:19:21-05:00
Example
This is a curl example:
Errors
HttpCode
HttpCode Name
Code
Description
200
ok
ok
Request successful
400
bad request
bad_request
Invalid parameters or duplicated event, view message for more details
404
not found
not_found
Event or user not found, view message for more details
500
internal error
internal_error
Unexpected error
GET /user-events
Retrieve a list of user events
Parameter
Type
Required
Description
limit
query
No
Items per page returned. Default: 25, Max: 100
page
query
No
Number of the page returned. Default: 0
service_uid
query
No
service_uid of user
event
query
No
event name
Example
Response
Errors
HttpCode
HttpCode Name
Code
Description
200
ok
ok
Request successful
400
bad request
bad_request
Invalid parameters or duplicated event, view message for more details
500
internal error
internal_error
Unexpected error
Delete event
DELETE
https://api.woowup.com/apiv3/events/{id}
Delete an event
Example
Response
Delete user events (bulk)
DELETE
https://api.woowup.com/apiv3/user-events/bulk
Request Body
event_name
string
from
string
date format YYYY-MM-DD hh:mm:ss
to
string
date format YYYY-MM-DD hh:mm:ss
notify_to
string
email to receive the confirmation
Example
Response
Last updated