Claim and normalize an incoming built-in call invite for the
authenticated Zulip account.
This endpoint keeps incoming caller identity behind the same
Zulip-authenticated call-control boundary as
POST /calls/bootstrap,
POST /calls/devices/register, and
POST /calls/plan. Clients submit the
observed incoming invite context, and the server either returns a
normalized claim envelope or fails closed with accepted: false.
Usage examples
curl
The -u line implements HTTP Basic authentication.
See the Authorization header documentation for how
to get those credentials for users and bots.
Raw SIP/app invite headers observed by the client runtime.
remote_identity_uristring | nulloptional
Example: "sip:ophelia@sip.example.com"
Optional remote SIP identity observed for the caller.
device_instance_idstring | nulloptional
Example: "device-1"
Optional active device instance identifier for the current
client.
Response
Return values
accepted: boolean
Whether the incoming invite was successfully claimed
and normalized for app-owned UI.
reason: string | null
Machine-readable rejection reason when accepted is
false.
ui_error_code: string | null
Stable user-facing PBX error code. This supplements
reason without changing the legacy value.
appCallId: string | null
Canonical application call identifier.
routeClass: string | null
Server-selected call route class.
roomId: string | null
Conference room identifier, when applicable.
displayName: string | null
Authenticated caller display name.
avatarUrl: string | null
Authenticated caller avatar URL, when available.
remoteIdentityUri: string | null
Normalized remote SIP identity URI.
asteriskChannelId: string | null
Server-owned Asterisk channel identifier.
asteriskBridgeId: string | null
Server-owned Asterisk bridge identifier.
plannerToken: string | null
Opaque planner token bound to the call.
deviceInstanceId: string | null
Device instance selected to own the call.
metadata: object
Bounded server-authoritative call metadata.
Server-authoritative call metadata value.
rawHeaders: object
Normalized allowlisted SIP/app invite headers.
Normalized SIP/app invite header value.
Example response(s)
Changes: As of Zulip 7.0 (feature level 167), if any
parameters sent in the request are not supported by this
endpoint, a successful JSON response will include an
ignored_parameters_unsupported array.