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>"
    }
  ]
}
'

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