Upstash Documentation

Upsert URL Group and Endpoint

Add an endpoint to a URL Group
1 min read
post/v2/topics/{urlGroupName}/endpoints
Request example
post/v2/topics/{urlGroupName}/endpoints

Add one or multiple endpoints to a URL Group. If the URL Group does not exist, it will be created.

Authorization

Authorizationstringheaderrequired#
QStash authentication token

1 alternative authorization method available — see the spec for details.

Path parameters

urlGroupNamestringrequired#
The name of your URL Group. If it doesn't exist yet, it will be created.

Body

application/json
endpointsobject[]required#
Show child attributes
urlstringrequired#
The URL of the endpoint
namestring#
Optional name for the endpoint

Responses

200
Endpoint(s) added successfully