Create webhook endpoint
Create an endpoint that receives the chosen events as signed POST requests (body: OutboundWebhookEvent). The response carries the signing secret this once. The endpoint acts as the linked user, its owner. Requires webhooks.write and the linked user’s write_settings_webhooks permission; staff only.
Authorizations
Body
A request header, named here, that also carries the signing secret as is, for receivers that can only compare a static header (Power Automate, Rewst, n8n). Every request is still signed. Letters, digits and hyphens, at most 64; not a header MSPortal already sends (webhook-*, content-type, user-agent…). Rotating the secret changes its value at once. null, empty or omitted: none.
64"x-msportal-secret"
Payload fields by event type, each a list of field names; an event left out sends its default fields. The record's id and company are always sent. csat.response.created: id (always), rating, scale, normalizedScore, comment, source, sourceResponseId, submittedAt, company (always), contact, technician, ticket. ticket.*: id (always), ticketNumber, title, description, resolution, status, isClosed, priority, escalationStatus, companyId (always), companyName, contactName, contactEmail, contactPhone, reportedBy, enteredBy, assignedTo, boardName, typeName, categoryName, issueTypeName, subIssueTypeName, source, hoursBudgeted, hoursActual, createdAt, updatedAt, dueDate, closedAt, daysOpen, provider, externalId, companyExternalId, psaUrl, portalUrl, reference. company.created/updated: id (always), name, isActive, domain, website, industry, companySize, accountNumber, entityType, types, territory, market, timezone, parentCompany, phone, address, primaryContact, teamMembers, customFields, createdAt, updatedAt, portalUrl. company.deleted: id (always), name, isActive, domain, website, industry, companySize, accountNumber, phone, createdAt.