URL Groups

Upsert URL Group and Endpoint

Add an endpoint to a URL Group

POST/v2/topics/{urlGroupName}/endpoints
cURL
curl --request POST \
  --url https://qstash-{region}.upstash.io/v2/topics/{urlGroupName}/endpoints \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
    "endpoints": "<endpoints>"
  }'

Authorization

Authorizationheaderstringrequired

Bearer authentication header of the form Bearer <token>.

Path parameters

urlGroupNamepathstringrequired

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

Body

endpointsobject[]required

Response

200 — Endpoint(s) added successfully

Loading search…