Skip to main content
POST
/
events
/
{id}
/
copy
Copy an event
curl --request POST \
  --url https://api.rntor.com/v1/events/{id}/copy \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'X-Client-ID: <api-key>' \
  --data '
{
  "start_time": "2023-11-07T05:31:56Z",
  "end_time": "2023-11-07T05:31:56Z"
}
'
{
  "data": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "title": "Networking Happy Hour",
    "description": "Join us for drinks and networking",
    "start_time": "2024-01-20T18:00:00Z",
    "end_time": "2024-01-20T21:00:00Z",
    "venue": "Main Lounge",
    "max_attendees": 50,
    "price": 25,
    "currency": "USD",
    "is_public": true,
    "status": "published",
    "created_at": "2023-11-07T05:31:56Z",
    "updated_at": "2023-11-07T05:31:56Z"
  },
  "meta": {
    "request_id": "req_abc123def456",
    "timestamp": "2024-01-15T10:30:00Z"
  }
}

Authorizations

Authorization
string
header
required

Your API client secret

X-Client-ID
string
header
required

Your API client ID

Path Parameters

id
string<uuid>
required

Body

application/json
start_time
string<date-time>
end_time
string<date-time>

Response

Event copied

data
object
meta
object