Skip to main content
POST
/
v2
/
topics
/
{urlGroupName}
/
endpoints
Upsert URL Group and Endpoint
curl --request POST \
  --url https://qstash.upstash.io/v2/topics/{urlGroupName}/endpoints \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "endpoints": [
    {
      "url": "<string>",
      "name": "<string>"
    }
  ]
}
'
Add one or multiple endpoints to a URL Group. If the URL Group does not exist, it will be created.

Authorizations

Authorization
string
header
required

QStash authentication token

Path Parameters

urlGroupName
string
required

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

Body

application/json
endpoints
object[]
required

Response

200

Endpoint(s) added successfully