xfa-tech Shared Signals API

The Shared Signals API from xfa-tech — 6 operation(s) for shared signals.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 8

GET /organizations/{organizationId}/shared-signals Shared Signals overview of an organization #
POST /organizations/{organizationId}/shared-signals/connections Create a Shared Signals connection #
PATCH /organizations/{organizationId}/shared-signals/connections/{connectionId} Rename or relabel a connection #
DELETE /organizations/{organizationId}/shared-signals/connections/{connectionId} Delete a connection and its streams #
POST /organizations/{organizationId}/shared-signals/connections/{connectionId}/rotate Rotate the token of a connection #
PATCH /organizations/{organizationId}/shared-signals/streams/{streamId} Update a stream #
DELETE /organizations/{organizationId}/shared-signals/streams/{streamId} Delete a stream #
POST /organizations/{organizationId}/shared-signals/streams/{streamId}/test Send a test event on a stream #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/xfa-tech:xfa-tech-shared-signals-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

xfa-tech-shared-signals-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: XFA Shared Signals API
  version: '1'
servers:
- url: https://api.xfa.tech
  description: Production stack API url
- url: https://test-api.xfa.tech
  description: Test stack API url
security:
- bearerAuth: []
tags:
- name: Shared Signals
paths:
  /organizations/{organizationId}/shared-signals:
    get:
      summary: Shared Signals overview of an organization
      description: The transmitter URLs to give receivers and the connections (never their token) with their streams. enabled is false without the shared_signals feature flag; the rest still lists what exists.
      x-internal: true
      tags:
      - Shared Signals
      parameters:
      - in: path
        name: organizationId
        description: ID of Organization
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Returns the overview
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SharedSignalsOverview'
        '403':
          description: User is not authorized for this organization
        '404':
          description: Organization not found
        '500':
          description: Internal server error
      operationId: getOrganizationsByOrganizationIdSharedSignals
      x-operation-id-source: derived
  /organizations/{organizationId}/shared-signals/connections:
    post:
      summary: Create a Shared Signals connection
      description: Creates a named connection. For ssf delivery (google, other) the response carries the bearer token the receiver uses on the SSF API, returned once and never stored in clear. For an okta connection XFA creates the push stream right away from receiver_url (Okta only takes the transmitter's well-known URL and never calls the SSF API) and for an entra connection its Graph stream (Entra has no SSF receiver); neither has a token. An entra connection names the tenant that granted admin consent to the application in the overview's microsoft_client_id (tenant_id); the body carries the administrator's Microsoft sign-in to that tenant (microsoft_sign_in, an authorization code), which XFA redeems and verifies, and XFA asks Microsoft for a token for the tenant before it stores anything, which only succeeds after the grant.
      x-internal: true
      tags:
      - Shared Signals
      parameters:
      - in: path
        name: organizationId
        description: ID of Organization
        required: true
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SharedSignalsCreateConnection'
      responses:
        '201':
          description: Returns the connection and, for ssf delivery, its token
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SharedSignalsConnectionToken'
        '400':
          description: Invalid body, name, provider or delivery, a missing or malformed receiver_url or an unsupported events_requested for okta, events_requested for another provider, a tenant_id that is not a tenant id or whose tenant did not grant admin consent, tenant_id without a complete microsoft_sign_in or together with application_id, or an application that is not a Microsoft application of this organization
        '403':
          description: User is not authorized for this organization, the organization has no shared_signals feature flag, or microsoft_sign_in does not prove an administrator of the tenant (a code Microsoft refuses, another tenant, another application, a guest account, an account that is neither Global Administrator nor Privileged Role Administrator)
        '404':
          description: Organization or application not found
        '409':
          description: 'The organization has reached its maximum number of connections, or the Microsoft tenant is connected to another organization. The second answers a JSON body {"error": <message>, "code": "tenant_claimed"}; the first has no code'
        '500':
          description: Internal server error
        '503':
          description: The Microsoft app registration for Shared Signals is not configured (entra with tenant_id)
      operationId: postOrganizationsByOrganizationIdSharedSignalsConnections
      x-operation-id-source: derived
  /organizations/{organizationId}/shared-signals/connections/{connectionId}:
    patch:
      summary: Rename or relabel a connection
      description: 'Changes the name or the provider label. The provider is copied on the connection''s streams, so they follow. A connection cannot change its delivery kind: only google and other (both ssf) can be swapped.'
      x-internal: true
      tags:
      - Shared Signals
      parameters:
      - in: path
        name: organizationId
        description: ID of Organization
        required: true
        schema:
          type: string
      - in: path
        name: connectionId
        description: ID of the connection
        required: true
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SharedSignalsUpdateConnection'
      responses:
        '200':
          description: Returns the updated connection with its streams
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SharedSignalsConnection'
        '400':
          description: Invalid body, name or provider
        '403':
          description: User is not authorized for this organization
        '404':
          description: Connection not found
        '500':
          description: Internal server error
      operationId: patchOrganizationsByOrganizationIdSharedSignalsConnectionsByConnectionId
      x-operation-id-source: derived
    delete:
      summary: Delete a connection and its streams
      description: Without the connection's token the receiver cannot reach its streams anymore, and the stream of an okta or entra connection exists only for it, so they go with it. The stream cleanup runs even when the connection is already gone; 404 only when nothing was there.
      x-internal: true
      tags:
      - Shared Signals
      parameters:
      - in: path
        name: organizationId
        description: ID of Organization
        required: true
        schema:
          type: string
      - in: path
        name: connectionId
        description: ID of the connection
        required: true
        schema:
          type: string
      responses:
        '204':
          description: Connection and streams deleted
        '403':
          description: User is not authorized for this organization
        '404':
          description: No connection and no streams with this id
        '500':
          description: Internal server error
      operationId: deleteOrganizationsByOrganizationIdSharedSignalsConnectionsByConnectionId
      x-operation-id-source: derived
  /organizations/{organizationId}/shared-signals/connections/{connectionId}/rotate:
    post:
      summary: Rotate the token of a connection
      description: Issues a new bearer token for an ssf connection; the previous token stops working at once. The token is returned once.
      x-internal: true
      tags:
      - Shared Signals
      parameters:
      - in: path
        name: organizationId
        description: ID of Organization
        required: true
        schema:
          type: string
      - in: path
        name: connectionId
        description: ID of the connection
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Returns the connection and its new token
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SharedSignalsConnectionToken'
        '400':
          description: The connection is an okta (push) or entra connection and has no token
        '403':
          description: User is not authorized for this organization, or the organization has no shared_signals feature flag
        '404':
          description: Connection not found
        '500':
          description: Internal server error
      operationId: postOrganizationsByOrganizationIdSharedSignalsConnectionsByConnectionIdRotate
      x-operation-id-source: derived
  /organizations/{organizationId}/shared-signals/streams/{streamId}:
    patch:
      summary: Update a stream
      description: Pause, disable or enable a stream with a reason, override the audience of its security event tokens, or, on a stream XFA created (okta), choose the events it delivers.
      x-internal: true
      tags:
      - Shared Signals
      parameters:
      - in: path
        name: organizationId
        description: ID of Organization
        required: true
        schema:
          type: string
      - in: path
        name: streamId
        description: ID of the stream
        required: true
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SharedSignalsUpdateStream'
      responses:
        '200':
          description: Returns the updated stream
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SharedSignalsStream'
        '400':
          description: Invalid body, status or events_requested, or events_requested on a stream the receiver manages
        '403':
          description: User is not authorized for this organization
        '404':
          description: Stream not found
        '500':
          description: Internal server error
      operationId: patchOrganizationsByOrganizationIdSharedSignalsStreamsByStreamId
      x-operation-id-source: derived
    delete:
      summary: Delete a stream
      x-internal: true
      tags:
      - Shared Signals
      parameters:
      - in: path
        name: organizationId
        description: ID of Organization
        required: true
        schema:
          type: string
      - in: path
        name: streamId
        description: ID of the stream
        required: true
        schema:
          type: string
      responses:
        '204':
          description: Stream deleted
        '403':
          description: User is not authorized for this organization
        '404':
          description: Stream not found
        '500':
          description: Internal server error
      operationId: deleteOrganizationsByOrganizationIdSharedSignalsStreamsByStreamId
      x-operation-id-source: derived
  /organizations/{organizationId}/shared-signals/streams/{streamId}/test:
    post:
      summary: Send a test event on a stream
      description: Pushes an SSF verification event to a stream with ssf delivery, or, for an entra stream, checks that Microsoft mints a Graph token for the tenant and that the token carries User.RevokeSessions.All (nothing is revoked, nobody is signed out; right after admin consent the permission can take a few minutes to appear). The outcome is recorded as the stream's last delivery.
      x-internal: true
      tags:
      - Shared Signals
      parameters:
      - in: path
        name: organizationId
        description: ID of Organization
        required: true
        schema:
          type: string
      - in: path
        name: streamId
        description: ID of the stream
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Returns whether the test event was delivered
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SharedSignalsTestResult'
        '403':
          description: User is not authorized for this organization
        '404':
          description: Stream not found
        '500':
          description: Internal server error
      operationId: postOrganizationsByOrganizationIdSharedSignalsStreamsByStreamIdTest
      x-operation-id-source: derived
components:
  schemas:
    SharedSignalsUpdateStream:
      type: object
      properties:
        status:
          type: string
          enum:
          - enabled
          - paused
          - disabled
        reason:
          type: string
        audience:
          type: string
          description: Overrides the derived aud; empty restores the default
        events_requested:
          type: array
          items:
            type: string
          description: 'Replaces the event selection of a stream XFA created (okta): at least one event type URI the provider''s receiver supports. 400 on a receiver-created (ssf) or entra stream.'
    SharedSignalsStream:
      type: object
      properties:
        stream_id:
          type: string
        connection_id:
          type: string
        status:
          type: string
          enum:
          - enabled
          - paused
          - disabled
        status_reason:
          type: string
        description:
          type: string
        audience:
          type: string
          description: aud of the security event tokens of this stream
        endpoint_url:
          type: string
          description: Where the receiver asked for events to be pushed (ssf delivery)
        events_delivered:
          type: array
          items:
            type: string
          description: Event type URIs the stream delivers
        subject_count:
          type: integer
          description: Subjects the receiver added
        created_at:
          type: integer
          format: int64
        updated_at:
          type: integer
          format: int64
        last_delivery_at:
          type: integer
          format: int64
        last_delivery_status:
          type: string
          enum:
          - ok
          - failed
        last_delivery_error:
          type: string
      required:
      - stream_id
      - connection_id
      - status
      - events_delivered
      - subject_count
      - created_at
      - updated_at
    SharedSignalsUpdateConnection:
      type: object
      properties:
        name:
          type: string
        provider:
          type: string
          enum:
          - google
          - other
          description: Relabels an ssf connection between google and other; a connection cannot change its delivery kind, so okta and entra connections keep their provider
    SharedSignalsConnectionToken:
      type: object
      description: A created or rotated connection; the token is shown once. A push (okta) or entra connection has no token.
      properties:
        connection:
          $ref: '#/components/schemas/SharedSignalsConnection'
        token:
          type: string
          description: The bearer token the receiver authenticates with on the SSF API
      required:
      - connection
    SharedSignalsTransmitter:
      type: object
      properties:
        issuer:
          type: string
          description: Issuer of the security event tokens, the base URL of the SSF API
        configuration_url:
          type: string
          description: SSF transmitter configuration (/.well-known/ssf-configuration) a receiver is pointed at
        jwks_url:
          type: string
          description: JWK Set with the RS256 public key
      required:
      - issuer
      - configuration_url
      - jwks_url
    SharedSignalsCreateConnection:
      type: object
      properties:
        name:
          type: string
        provider:
          type: string
          enum:
          - okta
          - google
          - entra
          - other
        delivery:
          type: string
          enum:
          - ssf
          - push
          - entra
          description: 'Defaults from the provider and must match it: push for okta, entra for entra, ssf for google and other'
        receiver_url:
          type: string
          description: 'Required for okta: the Okta org URL (https origin, no path), e.g. https://acme.okta.com. XFA creates the push stream to <receiver_url>/security/api/v1/security-events with the org URL as audience.'
        tenant_id:
          type: string
          description: 'Required for entra: the id (GUID) of the Microsoft Entra tenant, as Microsoft returns it in `tenant` after admin consent for the application named by microsoft_client_id in the overview. 400 when the tenant did not grant consent.'
        microsoft_sign_in:
          type: object
          description: 'Required with tenant_id: the administrator''s Microsoft sign-in to that tenant with the application named by microsoft_client_id, made with the authorization code flow and PKCE (response_type=code, scope openid, code_challenge_method S256). XFA redeems the code itself, verifies the ID token Microsoft answers with (signature against the tenant''s keys, issued by and for that tenant and this application within the last minutes) and requires a Global Administrator or Privileged Role Administrator of the tenant (the wids claim). It is the proof that the tenant is the administrator''s to connect; nothing of it is stored.'
          required:
          - code
          - redirect_uri
          - code_verifier
          properties:
            code:
              type: string
              description: The authorization code Microsoft appended to the redirect. Single use.
            redirect_uri:
              type: string
              description: The redirect URI the sign-in was started with, exactly.
            code_verifier:
              type: string
              minLength: 43
              maxLength: 128
              description: The PKCE code verifier whose S256 challenge the sign-in was started with.
        application_id:
          type: string
          deprecated: true
          description: 'Older alternative to tenant_id for entra: a Microsoft discovery application of this organization. Not together with tenant_id.'
        events_requested:
          type: array
          items:
            type: string
          description: 'okta only: event type URIs of the stream XFA creates, each one the provider''s receiver supports (CAEP device-compliance-change and/or session-revoked). Default device-compliance-change. 400 for other providers: their receiver chooses on the SSF API.'
      required:
      - name
      - provider
    SharedSignalsOverview:
      type: object
      description: The Shared Signals transmitter as seen by an organization (docs/specs/shared-signals-transmitter.md)
      properties:
        enabled:
          type: boolean
          description: Whether the organization has the shared_signals feature flag
        transmitter:
          $ref: '#/components/schemas/SharedSignalsTransmitter'
        connections:
          type: array
          items:
            $ref: '#/components/schemas/SharedSignalsConnection'
        microsoft_client_id:
          type: string
          description: 'Application (client) id of the XFA Shared Signals app registration in Microsoft Entra. The dashboard sends the administrator to Microsoft''s admin-consent endpoint with it and creates the entra connection with the tenant Microsoft returns. Absent while the registration is not configured: entra connections cannot be added then.'
      required:
      - enabled
      - transmitter
      - connections
    SharedSignalsTestResult:
      type: object
      properties:
        delivered:
          type: boolean
        error:
          type: string
      required:
      - delivered
    SharedSignalsConnection:
      type: object
      description: A named Shared Signals connection with its streams; the bearer token is never returned again
      properties:
        connection_id:
          type: string
        name:
          type: string
          description: Administrator-chosen name, at most 100 characters
        provider:
          type: string
          enum:
          - okta
          - google
          - entra
          - other
          description: Label for the Integrations page and the SET profile the receiver expects
        delivery:
          type: string
          enum:
          - ssf
          - push
          - entra
          description: 'ssf: the receiver creates streams on the SSF API with the connection''s token and gets SETs pushed; push: XFA created the one stream itself from receiver_url and pushes SETs to it, no token (okta); entra: one stream, delivered through Microsoft Graph session revocation'
        receiver_url:
          type: string
          description: 'Origin the SETs of a push connection go to and their audience: the Okta org URL, e.g. https://acme.okta.com (okta)'
        application_id:
          type: string
          description: 'Only on entra connections made before tenant_id existed: the organization''s Microsoft discovery application whose Graph token revokes sessions'
        tenant_id:
          type: string
          description: The Microsoft Entra tenant that granted XFA Shared Signals admin consent; its users' sessions are revoked (entra)
        created_at:
          type: integer
          format: int64
          description: Unix timestamp in seconds
        updated_at:
          type: integer
          format: int64
        streams:
          type: array
          items:
            $ref: '#/components/schemas/SharedSignalsStream'
      required:
      - connection_id
      - name
      - provider
      - delivery
      - created_at
      - updated_at
      - streams
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT