xfa-tech Phishing Configs API
The Phishing Configs API from xfa-tech — 6 operation(s) for phishing configs.
The Phishing Configs API from xfa-tech — 6 operation(s) for phishing configs.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/xfa-tech:xfa-tech-phishing-configs-api"
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.
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: 3.2.0
info:
title: XFA Phishing Configs 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: Phishing Configs
paths:
/organizations/{organizationId}/configs:
get:
summary: Request phishing configs for organization
x-internal: true
tags:
- Phishing Configs
parameters:
- in: path
name: organizationId
description: ID of Organization
required: true
schema:
type: string
responses:
'200':
description: Returns the phishing configs
content:
application/json:
schema:
$ref: '#/components/schemas/ConfigsList'
'403':
description: User is not authorized for this organization
'500':
description: Internal server error
operationId: getOrganizationsByOrganizationIdConfigs
x-operation-id-source: derived
post:
summary: Create a new phishing config
x-internal: true
tags:
- Phishing Configs
parameters:
- in: path
name: organizationId
description: ID of Organization
required: true
schema:
type: string
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/ConfigFields'
responses:
'201':
description: Returns the created phishing config
content:
application/json:
schema:
$ref: '#/components/schemas/Config'
'400':
description: Invalid request body
'403':
description: User is not authorized for this organization
'500':
description: Internal server error
operationId: postOrganizationsByOrganizationIdConfigs
x-operation-id-source: derived
/organizations/{organizationId}/configs/{configId}:
get:
summary: Request a specific phishing config
x-internal: true
tags:
- Phishing Configs
parameters:
- in: path
name: organizationId
description: ID of Organization
required: true
schema:
type: string
- in: path
name: configId
description: ID of the phishing config
required: true
schema:
type: string
responses:
'200':
description: Returns the phishing config
content:
application/json:
schema:
$ref: '#/components/schemas/Config'
'400':
description: Missing config id
'403':
description: User is not authorized for this organization
'404':
description: Config not found
'500':
description: Internal server error
operationId: getOrganizationsByOrganizationIdConfigsByConfigId
x-operation-id-source: derived
put:
summary: Update a phishing config
x-internal: true
tags:
- Phishing Configs
parameters:
- in: path
name: organizationId
description: ID of Organization
required: true
schema:
type: string
- in: path
name: configId
description: ID of the phishing config
required: true
schema:
type: string
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/ConfigFields'
responses:
'200':
description: Returns the updated phishing config
content:
application/json:
schema:
$ref: '#/components/schemas/Config'
'400':
description: Invalid request body or missing config id
'403':
description: User is not authorized for this organization
'404':
description: Config not found
'500':
description: Internal server error
operationId: putOrganizationsByOrganizationIdConfigsByConfigId
x-operation-id-source: derived
delete:
summary: Delete a phishing config
x-internal: true
tags:
- Phishing Configs
parameters:
- in: path
name: organizationId
description: ID of Organization
required: true
schema:
type: string
- in: path
name: configId
description: ID of the phishing config
required: true
schema:
type: string
responses:
'204':
description: Phishing config deleted successfully
'400':
description: Missing config id
'403':
description: User is not authorized for this organization
'404':
description: Config not found
'500':
description: Internal server error
operationId: deleteOrganizationsByOrganizationIdConfigsByConfigId
x-operation-id-source: derived
/organizations/{organizationId}/domain-configs:
get:
summary: Request domain configs for organization
x-internal: true
tags:
- Phishing Configs
parameters:
- in: path
name: organizationId
description: ID of Organization
required: true
schema:
type: string
responses:
'200':
description: Returns the domain configs
content:
application/json:
schema:
$ref: '#/components/schemas/ConfigsList'
'403':
description: User is not authorized for this organization
'500':
description: Internal server error
operationId: getOrganizationsByOrganizationIdDomainConfigs
x-operation-id-source: derived
post:
summary: Create a new domain config
x-internal: true
tags:
- Phishing Configs
parameters:
- in: path
name: organizationId
description: ID of Organization
required: true
schema:
type: string
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/ConfigFields'
responses:
'201':
description: Returns the created domain config
content:
application/json:
schema:
$ref: '#/components/schemas/Config'
'400':
description: Invalid request body
'403':
description: User is not authorized for this organization
'500':
description: Internal server error
operationId: postOrganizationsByOrganizationIdDomainConfigs
x-operation-id-source: derived
/organizations/{organizationId}/domain-configs/{configId}:
put:
summary: Update a domain config
x-internal: true
tags:
- Phishing Configs
parameters:
- in: path
name: organizationId
description: ID of Organization
required: true
schema:
type: string
- in: path
name: configId
description: ID of the domain config
required: true
schema:
type: string
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/ConfigFields'
responses:
'200':
description: Returns the updated domain config
content:
application/json:
schema:
$ref: '#/components/schemas/Config'
'400':
description: Invalid request body or missing config id
'403':
description: User is not authorized for this organization
'404':
description: Config not found
'500':
description: Internal server error
operationId: putOrganizationsByOrganizationIdDomainConfigsByConfigId
x-operation-id-source: derived
delete:
summary: Delete a domain config
x-internal: true
tags:
- Phishing Configs
parameters:
- in: path
name: organizationId
description: ID of Organization
required: true
schema:
type: string
- in: path
name: configId
description: ID of the domain config
required: true
schema:
type: string
responses:
'204':
description: Domain config deleted successfully
'400':
description: Missing config id
'403':
description: User is not authorized for this organization
'404':
description: Config not found
'500':
description: Internal server error
operationId: deleteOrganizationsByOrganizationIdDomainConfigsByConfigId
x-operation-id-source: derived
/organizations/{organizationId}/dns-verification/latest:
get:
summary: Get latest DNS verification results for organization
x-internal: true
tags:
- Phishing Configs
parameters:
- in: path
name: organizationId
description: ID of Organization
required: true
schema:
type: string
responses:
'200':
description: Returns the latest DNS verification results
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/DomainVerificationResult'
'403':
description: User is not authorized for this organization
'500':
description: Internal server error
operationId: getOrganizationsByOrganizationIdDnsVerificationLatest
x-operation-id-source: derived
/organizations/{organizationId}/dns-verification/domains/{domain}/history:
get:
summary: Get DNS verification history for a domain
x-internal: true
tags:
- Phishing Configs
parameters:
- in: path
name: organizationId
description: ID of Organization
required: true
schema:
type: string
- in: path
name: domain
description: Domain name
required: true
schema:
type: string
- in: query
name: limit
description: Maximum number of results to return
required: false
schema:
type: integer
responses:
'200':
description: Returns the DNS verification history for the domain
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/DomainVerificationResult'
'400':
description: Missing domain or invalid limit parameter
'403':
description: User is not authorized for this organization
'500':
description: Internal server error
operationId: getOrganizationsByOrganizationIdDnsVerificationDomainsByDomainHistory
x-operation-id-source: derived
components:
schemas:
Config:
type: object
properties:
config_id:
type: string
description: ID of the phishing config
organization_id:
type: string
description: ID of the organization
send_response:
type: boolean
description: Whether to send a response to phishing attempts
domains:
type: array
items:
type: string
description: List of domains for phishing config
fwd_address:
type:
- string
- 'null'
description: Forward address for phishing emails
phishing_inbox_name:
type:
- string
- 'null'
description: Name of the phishing inbox
required:
- config_id
- organization_id
- send_response
- domains
ConfigFields:
type: object
properties:
send_response:
type: boolean
description: Whether to send a response to phishing attempts
domains:
type: array
items:
type: string
description: List of domains for phishing config
fwd_address:
type:
- string
- 'null'
description: Forward address for phishing emails
phishing_inbox_name:
type:
- string
- 'null'
description: Name of the phishing inbox
required:
- send_response
- domains
DomainVerificationResult:
type: object
properties:
organization_id:
type: string
description: ID of the organization
domain:
type: string
description: Domain name
domain_timestamp:
type: string
description: Domain timestamp
timestamp:
type: integer
format: int64
description: Unix timestamp
config_id:
type: string
description: ID of the config
dmarc:
type: object
properties:
valid:
type: boolean
description: Whether DMARC record is valid
record:
type: string
description: DMARC record
error:
type: string
description: Error message if validation failed
security_score:
type: integer
description: Security score for DMARC
policy:
type: string
description: DMARC policy
subdomain_policy:
type: string
description: Subdomain policy
alignment:
type: object
properties:
dkim:
type: string
description: DKIM alignment (strict, relaxed)
spf:
type: string
description: SPF alignment (strict, relaxed)
required:
- dkim
- spf
reporting:
type: object
properties:
aggregate_uri:
type: string
description: Aggregate reporting URI
forensic_uri:
type: string
description: Forensic reporting URI
percentage:
type: integer
description: Percentage
required:
- percentage
recommendations:
type: array
items:
type: string
description: Recommendations for improvement
warnings:
type: array
items:
type: string
description: Warnings
recommendation_items:
type: array
items:
$ref: '#/components/schemas/DNSAdvice'
description: The recommendations as translatable codes, in the same order as recommendations
warning_items:
type: array
items:
$ref: '#/components/schemas/DNSAdvice'
description: The warnings as translatable codes, in the same order as warnings
required:
- valid
- security_score
- alignment
- reporting
spf:
type: object
properties:
valid:
type: boolean
description: Whether SPF record is valid
record:
type: string
description: SPF record
error:
type: string
description: Error message if validation failed
security_score:
type: integer
description: Security score for SPF
all_mechanism:
type: string
description: All mechanism
lookup_count:
type: integer
description: Number of lookups
has_ipv6:
type: boolean
description: Whether IPv6 is present
record_length:
type: integer
description: Record length
recommendations:
type: array
items:
type: string
description: Recommendations for improvement
warnings:
type: array
items:
type: string
description: Warnings
recommendation_items:
type: array
items:
$ref: '#/components/schemas/DNSAdvice'
description: The recommendations as translatable codes, in the same order as recommendations
warning_items:
type: array
items:
$ref: '#/components/schemas/DNSAdvice'
description: The warnings as translatable codes, in the same order as warnings
required:
- valid
- security_score
- lookup_count
- has_ipv6
- record_length
dkim:
type: object
properties:
selectors:
type: array
items:
type: object
properties:
selector:
type: string
description: Selector name
found:
type: boolean
description: Whether selector was found
valid:
type: boolean
description: Whether selector is valid
record:
type: string
description: DKIM record
key_length:
type: integer
description: Key length
key_algorithm:
type: string
description: Key algorithm
hash_algorithm:
type: string
description: Hash algorithm
service_type:
type: string
description: Service type
required:
- selector
- found
- valid
- key_length
description: DKIM selectors
security_score:
type: integer
description: Security score for DKIM
recommendations:
type: array
items:
type: string
description: Recommendations for improvement
warnings:
type: array
items:
type: string
description: Warnings
recommendation_items:
type: array
items:
$ref: '#/components/schemas/DNSAdvice'
description: The recommendations as translatable codes, in the same order as recommendations
warning_items:
type: array
items:
$ref: '#/components/schemas/DNSAdvice'
description: The warnings as translatable codes, in the same order as warnings
required:
- selectors
- security_score
dnssec:
type: object
properties:
valid:
type: boolean
description: Whether DNSSEC is valid
error:
type: string
description: Error message if validation failed
security_score:
type: integer
description: Security score for DNSSEC
algorithm:
type: string
description: Algorithm
key_length:
type: integer
description: Key length
chain_valid:
type: boolean
description: Whether chain is valid
recommendations:
type: array
items:
type: string
description: Recommendations for improvement
warnings:
type: array
items:
type: string
description: Warnings
recommendation_items:
type: array
items:
$ref: '#/components/schemas/DNSAdvice'
description: The recommendations as translatable codes, in the same order as recommendations
warning_items:
type: array
items:
$ref: '#/components/schemas/DNSAdvice'
description: The warnings as translatable codes, in the same order as warnings
required:
- valid
- security_score
- chain_valid
overall_score:
type: integer
description: Overall security score
ttl:
type: integer
format: int64
description: Time to live
required:
- organization_id
- domain
- timestamp
- config_id
- dmarc
- spf
- dkim
- dnssec
- overall_score
- ttl
ConfigsList:
type: array
items:
$ref: '#/components/schemas/Config'
DNSAdvice:
type: object
description: One warning or recommendation of a DNS check. Translate it by code, filling the {{name}} placeholders from params; show text for an unknown code.
properties:
code:
type: string
description: Stable key, for example dnssec_enable
params:
type: object
additionalProperties:
type: string
description: Values for the {{name}} placeholders in the text
text:
type: string
description: English text of the advice
required:
- code
- text
securitySchemes:
bearerAuth:
type: http
scheme: bearer
bearerFormat: JWT