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.
openapi: 3.2.0
info:
title: Declararfacil Com Clients API
version: 1.0.0
description: 'Operations tagged Clients across 2 of this provider''s published API definitions: declararfacil-com-agent-openapi.json, declararfacil-com-openapi.json. Each path carries the servers of the definition it was published in.'
servers:
- url: https://declararfacil.com
tags:
- name: Clients
paths:
/api/clients:
get:
summary: Saved clients
security:
- linkToken: []
responses:
'200':
description: OK
'401':
description: 'invalid_token: unknown or replaced token; start a new connection with POST /api/agent/v1/connect'
'402':
description: 'subscription_required: no active subscription; the body carries subscribe_url, steps, next_step and tell_the_user'
parameters:
- name: search
in: query
schema:
type: string
tags:
- Clients
operationId: getApiClients
x-operation-id-source: derived
post:
summary: Save a client
security:
- linkToken: []
responses:
'200':
description: OK
'401':
description: 'invalid_token: unknown or replaced token; start a new connection with POST /api/agent/v1/connect'
'402':
description: 'subscription_required: no active subscription; the body carries subscribe_url, steps, next_step and tell_the_user'
requestBody:
required: true
content:
application/json:
schema:
type: object
required:
- name
properties:
name:
type: string
nif:
type: string
address:
type: string
clienteEnEspana:
type: boolean
email:
type: string
phone:
type: string
notes:
type: string
tags:
- Clients
operationId: postApiClients
x-operation-id-source: derived
servers:
- url: https://declararfacil.com
components:
securitySchemes:
linkToken:
type: http
scheme: bearer
description: The df_ token handed out by the connect poll, or the last segment of the user's personal link (/agente/<token>).
x-refined-from:
- declararfacil-com-agent-openapi.json
- declararfacil-com-openapi.json