Skip to main content
POST
TypeScript

Authorizations

Authorization
string
header
required

API key authentication. Allowed headers-- "Authorization: ApiKey <novu_secret_key>".

Headers

idempotency-key
string

A header for idempotency purposes

Body

application/json
integrationIdentifier
string
required

Integration identifier for the chat provider integration

Example:

"telegram-bot"

subscriberId
string
required

External subscriber identifier to link to their chat identity

Example:

"subscriber-123"

Response

OK

url
string
required

URL the subscriber opens to link their chat identity (OAuth URL or deep link)

Example:

"https://t.me/MyBot?start=AbCdEfGhIjKlMnOpQrStUvWxYz012345"

providerMetadata
object

Provider-specific metadata returned alongside the link URL

Example: