An example payload of one event type (fictional data), to map fields
Access: an API key (or an org-wide key naming the workspace) with view on integrations.
apiKeyx-api-key<token>Workspace API key (nrk_…), shown once when created
event*string"connection_request_sent""connection_request_accepted""message_sent""message_reply_received""inmail_sent""inmail_reply_received""every_message_reply_received""follow_sent""liked_post""viewed_profile""campaign_completed""lead_tag_updated""lead_autotagged_positive""lead_autotagged_negative""lead_autotagged_generic""voice_note_received""lead_finished_without_reply""connection_request_withdrawn_or_declined""action_failed""sender_status_changed""action_canceled""connection_request_withdrawn""connection_checked"Default Response
application/json- response
id*stringversion*numberevent*|stringoccurredAt*string^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z|([+-](?:[01]\d|2[0-3]):[0-5]\d)))$date-timeworkspaceId*string^[0-9a-f]{24}$campaign*|nullsender*|nulllead*|nullmessage*|nullaction*|nulltags*|nullautoTag*|nullcompletion*|nullinvite*|nullrequest*|nullfailure*|nullsenderStatus*|nullconversation*|nullcounterpart*|nullconnectLink*|nullconnection*|nullreach*|nullcurl -X GET 'https://api.tryzen.co/v1/webhooks/payload-sample?event=connection_request_sent'{ "id": "string", "version": 1, "event": "connection_request_sent", "occurredAt": "2019-08-24T14:15:22Z", "workspaceId": "string", "campaign": { "id": "string", "name": "string" }, "sender": { "id": "string", "name": "string", "profileUrl": "string" }, "lead": { "id": "string", "firstName": "string", "lastName": "string", "profileUrl": "string", "headline": "string", "position": "string", "companyName": "string", "location": "string", "email": "string" }, "message": { "id": "string", "kind": "message", "channel": "linkedin", "sentAt": "2019-08-24T14:15:22Z", "firstReply": true, "contentWithheld": true, "text": "string", "subject": "string", "transcript": "string", "attachmentCount": 0, "durationSec": 0, "origin": "campaign_step" }, "action": { "type": "string", "nodeId": "string", "variant": 0 }, "tags": { "tagIds": [ "string" ], "added": [ "string" ], "removed": [ "string" ] }, "autoTag": { "value": "interested" }, "completion": { "reason": "string" }, "invite": { "invitedAt": "2019-08-24T14:15:22Z", "missingSince": "2019-08-24T14:15:22Z" }, "request": { "id": "string", "externalId": "string" }, "failure": { "code": "string", "message": "string" }, "senderStatus": { "from": "string", "to": "string", "reason": "string" }, "conversation": { "id": "string", "senderId": "string" }, "counterpart": { "name": "string", "profileUrl": "string", "pictureUrl": "string" }, "connectLink": { "id": "string", "externalId": "string" }, "connection": { "status": "connected" }, "reach": { "step": "message", "relationship": "connected", "source": "stored", "withNote": true }}Create a webhook; the response is the only time its signing secret is shown POST
**Access:** an API key (or an org-wide key naming the workspace) with manage on `integrations`. **Batch:** through an API key, `campaignIds` holds at most 100 items. One event type per webhook; `campaignIds` empty = every campaign. Deliveries are POSTs signed with HMAC-SHA256 in `x-notreach-signature: t=<unix seconds>,v1=<hex>` over `<t>.<raw body>`; reject a `t` older than 5 minutes. Targets must be public http(s) URLs (`422 blocked_target`).
One webhook GET
**Access:** an API key (or an org-wide key naming the workspace) with view on `integrations`.