RevDesk Contacts API

The Contacts API from RevDesk — 2 operation(s) for contacts.

GitHub OpenAPI

Operations 5

GET /v1/contacts/{id} Get a contact #
PATCH /v1/contacts/{id} Update a contact #
DELETE /v1/contacts/{id} Delete a contact #
GET /v1/contacts List contacts #
POST /v1/contacts Create or update a contact #

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/revdesk-com:revdesk-com-contacts-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

revdesk-com-contacts-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: RevDesk v1 Contacts API
  version: 1.0.0
  description: Connect RevDesk calls, SMS, phone numbers, caller IDs, caller trust, agents, contacts, tasks, webhooks, and usage to the rest of your revenue workflow with organization-scoped permissions.
  contact:
    name: RevDesk
    email: support@revdesk.com
servers:
- url: https://api.revdesk.com
security:
- bearerAuth: []
tags:
- name: Contacts
paths:
  /v1/contacts/{id}:
    get:
      operationId: v1_contacts_id_get
      tags:
      - Contacts
      summary: Get a contact
      description: Returns a single contact by id.
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success
          headers:
            RateLimit:
              $ref: '#/components/headers/RateLimit'
            RateLimit-Policy:
              $ref: '#/components/headers/RateLimitPolicy'
            X-RateLimit-Limit:
              $ref: '#/components/headers/XRateLimitLimit'
            X-RateLimit-Remaining:
              $ref: '#/components/headers/XRateLimitRemaining'
            X-RateLimit-Reset:
              $ref: '#/components/headers/XRateLimitReset'
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: string
                      name:
                        type: string
                      phone_number:
                        type:
                        - string
                        - 'null'
                      email:
                        type:
                        - string
                        - 'null'
                      status:
                        type: string
                      source:
                        type: string
                      metadata:
                        anyOf:
                        - {}
                        - type: 'null'
                      created_at:
                        type: string
                      updated_at:
                        type: string
                    required:
                    - id
                    - name
                    - phone_number
                    - email
                    - status
                    - source
                    - metadata
                    - created_at
                    - updated_at
                    additionalProperties: false
                required:
                - data
                additionalProperties: false
        '400':
          description: Validation error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
        '401':
          description: Unauthorized
          headers:
            WWW-Authenticate:
              $ref: '#/components/headers/WWWAuthenticate'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
        '403':
          description: Forbidden
          headers:
            WWW-Authenticate:
              $ref: '#/components/headers/WWWAuthenticate'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
        '409':
          description: Conflict (incl. idempotency conflicts)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
        '429':
          description: Rate limited
          headers:
            RateLimit:
              $ref: '#/components/headers/RateLimit'
            RateLimit-Policy:
              $ref: '#/components/headers/RateLimitPolicy'
            X-RateLimit-Limit:
              $ref: '#/components/headers/XRateLimitLimit'
            X-RateLimit-Remaining:
              $ref: '#/components/headers/XRateLimitRemaining'
            X-RateLimit-Reset:
              $ref: '#/components/headers/XRateLimitReset'
            Retry-After:
              $ref: '#/components/headers/RetryAfter'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
      x-scopes:
      - contacts:read
      x-required-scopes:
      - contacts:read
      x-rate-limit:
        requestsPerMinute: 600
      x-demo-eligible: true
    patch:
      operationId: v1_contacts_id_patch
      tags:
      - Contacts
      summary: Update a contact
      description: Updates a contact's name, email, company, or metadata. Fields omitted from the body are left unchanged; pass null to clear a nullable field. The phone number is immutable — create a new contact instead.
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      - name: Idempotency-Key
        in: header
        required: false
        description: UUID — when present, deduplicates repeat submissions. See /api-reference/idempotency.
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                name:
                  type: string
                  minLength: 1
                email:
                  type:
                  - string
                  - 'null'
                company:
                  type:
                  - string
                  - 'null'
                metadata:
                  anyOf:
                  - type: object
                    propertyNames:
                      type: string
                    additionalProperties: {}
                  - type: 'null'
              additionalProperties: false
      responses:
        '200':
          description: Success
          headers:
            RateLimit:
              $ref: '#/components/headers/RateLimit'
            RateLimit-Policy:
              $ref: '#/components/headers/RateLimitPolicy'
            X-RateLimit-Limit:
              $ref: '#/components/headers/XRateLimitLimit'
            X-RateLimit-Remaining:
              $ref: '#/components/headers/XRateLimitRemaining'
            X-RateLimit-Reset:
              $ref: '#/components/headers/XRateLimitReset'
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: string
                      name:
                        type: string
                      phone_number:
                        type:
                        - string
                        - 'null'
                      email:
                        type:
                        - string
                        - 'null'
                      status:
                        type: string
                      source:
                        type: string
                      metadata:
                        anyOf:
                        - {}
                        - type: 'null'
                      created_at:
                        type: string
                      updated_at:
                        type: string
                    required:
                    - id
                    - name
                    - phone_number
                    - email
                    - status
                    - source
                    - metadata
                    - created_at
                    - updated_at
                    additionalProperties: false
                required:
                - data
                additionalProperties: false
        '400':
          description: Validation error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
        '401':
          description: Unauthorized
          headers:
            WWW-Authenticate:
              $ref: '#/components/headers/WWWAuthenticate'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
        '403':
          description: Forbidden
          headers:
            WWW-Authenticate:
              $ref: '#/components/headers/WWWAuthenticate'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
        '409':
          description: Conflict (incl. idempotency conflicts)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
        '429':
          description: Rate limited
          headers:
            RateLimit:
              $ref: '#/components/headers/RateLimit'
            RateLimit-Policy:
              $ref: '#/components/headers/RateLimitPolicy'
            X-RateLimit-Limit:
              $ref: '#/components/headers/XRateLimitLimit'
            X-RateLimit-Remaining:
              $ref: '#/components/headers/XRateLimitRemaining'
            X-RateLimit-Reset:
              $ref: '#/components/headers/XRateLimitReset'
            Retry-After:
              $ref: '#/components/headers/RetryAfter'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
      x-scopes:
      - contacts:write
      x-required-scopes:
      - contacts:write
      x-rate-limit:
        requestsPerMinute: 600
    delete:
      operationId: v1_contacts_id_delete
      tags:
      - Contacts
      summary: Delete a contact
      description: Permanently deletes a contact. Related records (messages, calls) are removed by database cascade. This cannot be undone.
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      - name: Idempotency-Key
        in: header
        required: false
        description: UUID — when present, deduplicates repeat submissions. See /api-reference/idempotency.
        schema:
          type: string
      responses:
        '200':
          description: Success
          headers:
            RateLimit:
              $ref: '#/components/headers/RateLimit'
            RateLimit-Policy:
              $ref: '#/components/headers/RateLimitPolicy'
            X-RateLimit-Limit:
              $ref: '#/components/headers/XRateLimitLimit'
            X-RateLimit-Remaining:
              $ref: '#/components/headers/XRateLimitRemaining'
            X-RateLimit-Reset:
              $ref: '#/components/headers/XRateLimitReset'
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: string
                      deleted:
                        type: boolean
                    required:
                    - id
                    - deleted
                    additionalProperties: false
                required:
                - data
                additionalProperties: false
        '400':
          description: Validation error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
        '401':
          description: Unauthorized
          headers:
            WWW-Authenticate:
              $ref: '#/components/headers/WWWAuthenticate'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
        '403':
          description: Forbidden
          headers:
            WWW-Authenticate:
              $ref: '#/components/headers/WWWAuthenticate'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
        '409':
          description: Conflict (incl. idempotency conflicts)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
        '429':
          description: Rate limited
          headers:
            RateLimit:
              $ref: '#/components/headers/RateLimit'
            RateLimit-Policy:
              $ref: '#/components/headers/RateLimitPolicy'
            X-RateLimit-Limit:
              $ref: '#/components/headers/XRateLimitLimit'
            X-RateLimit-Remaining:
              $ref: '#/components/headers/XRateLimitRemaining'
            X-RateLimit-Reset:
              $ref: '#/components/headers/XRateLimitReset'
            Retry-After:
              $ref: '#/components/headers/RetryAfter'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
      x-scopes:
      - contacts:write
      x-required-scopes:
      - contacts:write
      x-rate-limit:
        requestsPerMinute: 600
  /v1/contacts:
    get:
      operationId: v1_contacts_get
      tags:
      - Contacts
      summary: List contacts
      description: Returns recent contacts for the authenticated organization, newest first.
      parameters:
      - name: limit
        in: query
        required: false
        schema:
          type: number
          minimum: 1
          maximum: 50
      responses:
        '200':
          description: Success
          headers:
            RateLimit:
              $ref: '#/components/headers/RateLimit'
            RateLimit-Policy:
              $ref: '#/components/headers/RateLimitPolicy'
            X-RateLimit-Limit:
              $ref: '#/components/headers/XRateLimitLimit'
            X-RateLimit-Remaining:
              $ref: '#/components/headers/XRateLimitRemaining'
            X-RateLimit-Reset:
              $ref: '#/components/headers/XRateLimitReset'
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                        name:
                          type: string
                        phone_number:
                          type:
                          - string
                          - 'null'
                        email:
                          type:
                          - string
                          - 'null'
                        status:
                          type: string
                        source:
                          type: string
                        metadata:
                          anyOf:
                          - {}
                          - type: 'null'
                        created_at:
                          type: string
                        updated_at:
                          type: string
                      required:
                      - id
                      - name
                      - phone_number
                      - email
                      - status
                      - source
                      - metadata
                      - created_at
                      - updated_at
                      additionalProperties: false
                  meta:
                    type: object
                    properties:
                      cursor:
                        type: string
                      total_results:
                        type: number
                      page_size:
                        type: number
                    additionalProperties: false
                required:
                - data
                - meta
                additionalProperties: false
        '400':
          description: Validation error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
        '401':
          description: Unauthorized
          headers:
            WWW-Authenticate:
              $ref: '#/components/headers/WWWAuthenticate'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
        '403':
          description: Forbidden
          headers:
            WWW-Authenticate:
              $ref: '#/components/headers/WWWAuthenticate'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
        '409':
          description: Conflict (incl. idempotency conflicts)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
        '429':
          description: Rate limited
          headers:
            RateLimit:
              $ref: '#/components/headers/RateLimit'
            RateLimit-Policy:
              $ref: '#/components/headers/RateLimitPolicy'
            X-RateLimit-Limit:
              $ref: '#/components/headers/XRateLimitLimit'
            X-RateLimit-Remaining:
              $ref: '#/components/headers/XRateLimitRemaining'
            X-RateLimit-Reset:
              $ref: '#/components/headers/XRateLimitReset'
            Retry-After:
              $ref: '#/components/headers/RetryAfter'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
      x-scopes:
      - contacts:read
      x-required-scopes:
      - contacts:read
      x-rate-limit:
        requestsPerMinute: 600
      x-demo-eligible: true
    post:
      operationId: v1_contacts_post
      tags:
      - Contacts
      summary: Create or update a contact
      description: 'Upserts a contact by phone number: creates it when no contact with that number exists in the organization, otherwise updates the existing contact''s name/email/metadata. The `created` flag in the response tells you which happened (201 on create, 200 on update).'
      parameters:
      - name: Idempotency-Key
        in: header
        required: false
        description: UUID — when present, deduplicates repeat submissions. See /api-reference/idempotency.
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                phone_number:
                  type: string
                  minLength: 1
                name:
                  type: string
                email:
                  type: string
                metadata:
                  type: object
                  propertyNames:
                    type: string
                  additionalProperties: {}
                sms_consent:
                  type: boolean
                sms_consent_source:
                  type: string
              required:
              - phone_number
              additionalProperties: false
      responses:
        '201':
          description: Success
          headers:
            RateLimit:
              $ref: '#/components/headers/RateLimit'
            RateLimit-Policy:
              $ref: '#/components/headers/RateLimitPolicy'
            X-RateLimit-Limit:
              $ref: '#/components/headers/XRateLimitLimit'
            X-RateLimit-Remaining:
              $ref: '#/components/headers/XRateLimitRemaining'
            X-RateLimit-Reset:
              $ref: '#/components/headers/XRateLimitReset'
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: string
                      name:
                        type: string
                      phone_number:
                        type:
                        - string
                        - 'null'
                      email:
                        type:
                        - string
                        - 'null'
                      status:
                        type: string
                      source:
                        type: string
                      metadata:
                        anyOf:
                        - {}
                        - type: 'null'
                      created_at:
                        type: string
                      updated_at:
                        type: string
                      created:
                        type: boolean
                    required:
                    - id
                    - name
                    - phone_number
                    - email
                    - status
                    - source
                    - metadata
                    - created_at
                    - updated_at
                    - created
                    additionalProperties: false
                required:
                - data
                additionalProperties: false
        '400':
          description: Validation error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
        '401':
          description: Unauthorized
          headers:
            WWW-Authenticate:
              $ref: '#/components/headers/WWWAuthenticate'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
        '403':
          description: Forbidden
          headers:
            WWW-Authenticate:
              $ref: '#/components/headers/WWWAuthenticate'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
        '409':
          description: Conflict (incl. idempotency conflicts)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
        '429':
          description: Rate limited
          headers:
            RateLimit:
              $ref: '#/components/headers/RateLimit'
            RateLimit-Policy:
              $ref: '#/components/headers/RateLimitPolicy'
            X-RateLimit-Limit:
              $ref: '#/components/headers/XRateLimitLimit'
            X-RateLimit-Remaining:
              $ref: '#/components/headers/XRateLimitRemaining'
            X-RateLimit-Reset:
              $ref: '#/components/headers/XRateLimitReset'
            Retry-After:
              $ref: '#/components/headers/RetryAfter'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
      x-scopes:
      - contacts:write
      x-required-scopes:
      - contacts:write
      x-rate-limit:
        requestsPerMinute: 600
components:
  headers:
    XRateLimitRemaining:
      description: Requests remaining in the current window.
      schema:
        type: integer
    RetryAfter:
      description: Seconds to wait before retrying a rate-limited request.
      schema:
        type: integer
        minimum: 0
    WWWAuthenticate:
      description: Bearer challenge with RFC 9728 protected-resource metadata and, on scope failures, the required scope.
      schema:
        type: string
    XRateLimitLimit:
      description: Maximum requests allowed in the current one-minute window.
      schema:
        type: integer
    RateLimit:
      description: Current quota remaining and seconds until reset, using the IETF RateLimit structured-field syntax.
      schema:
        type: string
        example: '"default";r=599;t=60'
    XRateLimitReset:
      description: Unix timestamp in milliseconds when the current window resets.
      schema:
        type: integer
    RateLimitPolicy:
      description: Named quota policy and one-minute window.
      schema:
        type: string
        example: '"default";q=600;w=60'
  schemas:
    ErrorEnvelope:
      type: object
      properties:
        error:
          type: object
          required:
          - code
          - message
          properties:
            code:
              type: string
            message:
              type: string
            resolution_hint:
              type: string
            fields:
              type: object
              additionalProperties:
                type: string
            doc_url:
              type: string
              format: uri
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: RevDesk API key
      description: Organization-scoped RevDesk API key. Each operation declares its required permissions in x-required-scopes.
      x-scopes-supported:
      - account:read
      - agents:read
      - agents:write
      - bookings:read
      - brand:read
      - brand:write
      - caller_trust:read
      - caller_trust:write
      - calls:read
      - calls:write
      - contacts:read
      - contacts:write
      - jobs:read
      - jobs:write
      - notifications:write
      - phone_numbers:read
      - phone_numbers:write
      - optimize:read
      - optimize:write
      - sms:read
      - sms:write
      - sub_entities:read
      - sub_entities:write
      - tokens:mint
      - transcripts:read
      - usage:read
      - voice:read
      - voice:webrtc
      - voice:write
      - webhooks:read
      - webhooks:write
externalDocs:
  description: RevDesk API versioning and deprecation policy
  url: https://docs.revdesk.com/api-reference/versioning-and-deprecation
x-versioning-policy:
  strategy: URL path versioning
  currentVersion: v1
  deprecationSignals:
  - Deprecation response header
  - Sunset response header
  - Link rel=sunset
  policyUrl: https://docs.revdesk.com/api-reference/versioning-and-deprecation
x-scope-descriptions:
  account:read: Read the authenticated account and workspace identity.
  agents:read: Read voice-agent configuration.
  agents:write: Create or change voice-agent configuration and start web calls.
  bookings:read: Read appointments and bookings.
  brand:read: Read branded-calling configuration and status.
  brand:write: Create or change branded-calling configuration.
  caller_trust:read: Read caller-trust registrations, reputation, and remediation status.
  caller_trust:write: Create or change caller-trust registrations and remediation requests.
  calls:read: Read call history and call details.
  calls:write: Place, control, or end calls.
  contacts:read: Read contacts.
  contacts:write: Create or change contacts.
  jobs:read: Read long-horizon tasks and outcomes. The scope name is retained for compatibility.
  jobs:write: Create or change long-horizon tasks. The scope name is retained for compatibility.
  notifications:write: Register or revoke this user's native notification devices.
  phone_numbers:read: Read owned and available phone numbers.
  phone_numbers:write: Purchase, configure, or release phone numbers.
  optimize:read: Read website tests, results, conversions, and site properties.
  optimize:write: Create, start, pause, ship, or archive website tests and record conversions.
  sms:read: Read messages and SMS configuration.
  sms:write: Send messages or change SMS configuration.
  sub_entities:read: Read bounded sub-entities.
  sub_entities:write: Create or change bounded sub-entities.
  tokens:mint: Mint short-lived, bounded client tokens from an API key.
  transcripts:read: Read call transcripts.
  usage:read: Read usage and spend summaries.
  voice:read: Read caller IDs and voice configuration.
  voice:webrtc: Create short-lived WebRTC room tokens.
  voice:write: Create, verify, change, or remove caller IDs.
  webhooks:read: Read webhook subscriptions.
  webhooks:write: Create, change, or remove webhook subscriptions.