Skip to main content
A connection is an HTTP endpoint your organization registers so Vibe OnCall can call it: an address and a method, request headers whose secret values are stored encrypted, a timeout, and — optionally — the endpoint’s own documentation. What stands behind the address is your choice: one of your own internal services, or a third party’s API. The connection is the registration, not the system behind it. Where to find it: Settings → Global → Connections

Who calls a connection

One registration, two callers. Each decides for itself what to send and what to do with the answer. Vibe OnCall can list your registered endpoints, read one together with its document, and send a request — always on behalf of a person who asked, never on its own. It cannot create, change, or delete a connection; that stays in Settings. Header values are attached to the request on the server and are never shown to it, and a response is treated as data to read, not as instructions to follow.

Create a connection

  1. Go to Settings → Global → Connections and select Create connection.
  2. Name the connection. The name must be unique in your organization. The optional description is a one-line note for whoever picks it from a list later.
  3. Under Endpoint, choose the HTTP method and enter the base URL. Add a path if the endpoint always needs one. Leave query strings out of it — a stored path containing ? cannot have a path appended to it later, which rules the connection out of both automation path templates and requests Vibe OnCall composes. Put query parameters on the caller instead.
  4. Under Headers, add whatever the endpoint requires: Authorization, Content-Type, an API key. Turn on Secret for any value that is a credential.
  5. Under Documentation, paste the endpoint’s own API documentation. See below for what this changes.
  6. Set Timeout (ms) — how long to wait for a response before the request is treated as failed.
  7. Optionally, under Signing secret, select Set secret and paste a secret your endpoint also knows. See below for what this changes.
  8. Leave Connection enabled on and select Create.

Field reference


Documentation: what it changes

The Documentation field is the endpoint’s own manual, in your organization’s words — what it serves, how a request is shaped, what comes back. None of that is derivable from the address, which is why it is a field rather than something the platform can work out. It decides what can be asked of the endpoint:
  • With a document, Vibe OnCall can compose a request nobody has written before — a different path, a different query, a body built for the question in front of it.
  • Without one, the endpoint still works, but only for the exact requests your automations were already built for. Nothing composes a new one.
Paste the real documentation rather than a summary: the paths, the parameters, the shape of what comes back, and any rule a caller has to respect. Up to 50,000 characters.
A document is not a permission boundary. Anything the endpoint will do for the credentials stored on this connection, it will do for a request composed from the document. Register endpoints scoped to what you want reachable, and give the connection the narrowest credentials that work.

Signing secret: proving a request came from Vibe

An endpoint on the public internet cannot tell a request from Vibe OnCall apart from one anybody else sends — unless the connection has a Signing secret. With one set, every request the connection sends — from an automation, a dry run, or Vibe OnCall in conversation — is signed with HMAC-SHA256, keyed with the secret. Your endpoint recomputes the signature with the same secret and rejects a request that does not match.

Signature headers

A connection without a signing secret sends neither header.

How the signature is computed

  1. Take the X-Vibe-Timestamp value exactly as sent — a whole number of seconds, such as 1794536567.
  2. Take the request body exactly as it arrived, byte for byte. A request without a body has an empty body.
  3. Join them with a single period: the timestamp, then ., then the body. With no body, the text is the timestamp followed by a period, such as 1794536567..
  4. Compute HMAC-SHA256 over that text (UTF-8). The key is the signing secret exactly as you entered it, as UTF-8 text — not decoded from Base64 or hex.
  5. Write the result as lowercase hexadecimal and put v1= in front.
Only the timestamp and the body are signed. The method, URL, path, query string, and other headers are not part of the signature.

Test values

Check your implementation against these before connecting a real endpoint: With the same secret and timestamp and no body, the signed text is 1794536567. and the header is v1=c181f90636f3d5cc82b7e59dba5a9ef82619be5e4213f32d6dde9ea40b626fe2.

Verify on your endpoint

  1. Read the raw body before any JSON parsing. A body that has been parsed and serialized again can differ in spacing or key order and will not match.
  2. Compute the signature as above and compare it to X-Vibe-Signature with a constant-time comparison.
  3. Reject a timestamp more than five minutes away from your clock, so a captured request cannot be replayed later.

Manage the secret

Open the connection:
  • Set secret adds one. The form refuses fewer than 32 or more than 256 characters.
  • Replace swaps it for a new value. Update your endpoint at the same time, or it will reject requests signed with the new secret.
  • Remove stops signing once you save. Until then, Undo keeps the stored secret.
A stored secret cannot be read back. If you lose it, replace it.

Enriching an alert from a connection

Alert enrichment is configured as an automation, not as a routing rule. Create an automation on the Alert is created trigger with an Invoke REST connection action, then declare response mappings on that action: named paths out of the response are written onto the alert. Two rules make an ordered chain of steps behave like one lookup with fallbacks — a step whose path is absent from the response writes nothing rather than failing, and a value an earlier step already wrote is left alone, so the first step that answers wins. Full detail, including how to project a list of records into a shape your responders can read, is on the Invoke REST connection page.
Earlier versions configured this as an “Enrich from connection” action on a routing rule. That action has been retired — enrichment now lives on the automation action, where the request and the mappings are configured together.

Test a connection with a dry run

Open a saved connection and select Dry run to send its stored request as-is and see what comes back: the status code, how long it took, and the raw response body. Save any pending edits first — a dry run tests what is stored, not what is on screen. A dry run sends no request body, so it exercises the address, the headers, and the credentials rather than a full call. An endpoint that requires a body may answer with an error; that still tells you the request reached it. If the connection has a signing secret, the dry run is signed too — over an empty body — so it also checks that your endpoint verifies signatures. A dry run is sent once and never retried.

History

The History tab records changes to a connection’s name, description, method, base URL, path, timeout and enabled state, along with each header added, changed, or removed — and whether it was created or deleted. Secret headers are recorded by key only; a secret value never appears in the history. A signing secret is recorded only as set, replaced, or removed.

Limits and safeguards


Troubleshooting

The connection saved, but every call fails with a URL error.
  • The base URL must be https://. A plain http:// address passes the form and saves, and is rejected when the first request is sent — so the symptom is a connection that looks healthy and never works. Edit the base URL and dry run again.
  • Some deployments additionally restrict which hostnames may be called, and that is checked at the same moment. If a valid HTTPS address still fails, contact us.
A secret header stopped working after I edited the connection.
  • On edit, a secret value comes back blank. Leaving it blank keeps the stored secret; typing anything replaces it. Re-enter the credential in full, or cancel and edit again without touching the field.
Every call times out.
  • Raise Timeout (ms), up to 10,000. If the endpoint genuinely needs longer than ten seconds, it is not a good fit for a connection — put a faster endpoint in front of it.
  • Confirm the endpoint is reachable from the public internet.
Vibe OnCall says it cannot compose a request for this endpoint.
  • The connection has no Documentation. Add the endpoint’s API documentation and try again. Until then only the requests your automations were built for will run.
An automation ran but nothing landed on the alert.
  • Response mappings live on the Invoke REST connection action, not on the connection. Check them on the action — see the Invoke REST connection page.
  • Mappings run on the Alert is created trigger only. On any other trigger the response is discarded.
The signature does not match.
  • Verify against the raw body bytes, before any JSON parsing.
  • Use the X-Vibe-Timestamp from the same request. A request sent again has its own timestamp and signature.
  • Use the secret as plain text. Do not decode it from Base64 or hex.
  • Make sure your secret matches the connection’s exactly. A stored secret cannot be read back — if unsure, select Replace and update your endpoint with the new value.
Nothing happens at all.
  • Check that Connection enabled is on. A disabled connection sends no requests and every caller fails immediately.