ilert Contacts API

The Contacts API from ilert — 4 operation(s) for contacts.

GitHub OpenAPI

Operations 10

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /users/{user-id}/contacts/emails List a user's email contacts · Get a user's emails #
Ask an LLM
“Which email addresses are set up for a user?”
“Can I see all email contacts on a user account?”
Tell an agent
List the email contacts for user {user}.
Show every email address on user {user}'s contact list.
POST /users/{user-id}/contacts/emails Add an email contact for a user · Create a new email #
Ask an LLM
“How do I add an email address to a user's contacts?”
“Can I set a user's email contact to a specific address?”
Tell an agent
Add email {target} to user {user}'s contacts.
Create a new email contact {target} for user {user}.
GET /users/{user-id}/contacts/emails/{id} Get one email contact · Get a specific email #
Ask an LLM
“What is the address of a specific email contact?”
“Can I fetch a single email contact by ID?”
Tell an agent
Get email contact {id} for user {user}.
Show the email {id} on user {user}'s contact list.
PUT /users/{user-id}/contacts/emails/{id} Update a user's email contact · Update a user's email #
Ask an LLM
“Can I change the address of an existing email contact?”
“How do I make a user's email contact primary?”
Tell an agent
Update email contact {id} for user {user} to {target}.
Make {target} the primary email contact for user {user}, contact {id}.
DELETE /users/{user-id}/contacts/emails/{id} Delete a user's email contact · Delete the user's specified email #
Ask an LLM
“How do I remove an email address from a user's contacts?”
“Can I delete a user's email contact?”
Tell an agent destructive · confirm first
Delete email contact {id} from user {user}.
Remove the email {id} on user {user}'s contact list.
GET /users/{user-id}/contacts/phone-numbers List a user's phone numbers · Get a user's phone numbers #
Ask an LLM
“Which phone numbers are on a user's contact list?”
“Can I see all phone contacts for a user?”
Tell an agent
List the phone numbers for user {user}.
Show every phone contact on user {user}'s account.
POST /users/{user-id}/contacts/phone-numbers Add a phone number contact · Create a phone number #
Ask an LLM
“How do I add a phone number to a user's contacts?”
“Can I set a user's phone number contact to a number and region?”
Tell an agent
Add phone number {target} to user {user}'s contacts.
Create a phone contact {target} for user {user} in region {region}.
GET /users/{user-id}/contacts/phone-numbers/{id} Get one phone number contact · Get specific phone number #
Ask an LLM
“What is the number of a specific phone contact?”
“Can I fetch a single phone contact by ID?”
Tell an agent
Get phone contact {id} for user {user}.
Show the phone number {id} on user {user}'s contact list.
PUT /users/{user-id}/contacts/phone-numbers/{id} Update a user's phone number · Update a user's phone number #
Ask an LLM
“Can I change an existing phone contact's number?”
“How do I make a user's phone contact primary?”
Tell an agent
Update phone contact {id} for user {user} to {target}.
Make {target} the primary phone contact for user {user}, contact {id}.
DELETE /users/{user-id}/contacts/phone-numbers/{id} Delete a user's phone number · Delete the user's specified phone number #
Ask an LLM
“How do I remove a phone number from a user's contacts?”
“Can I delete a user's phone contact?”
Tell an agent destructive · confirm first
Delete phone contact {id} from user {user}.
Remove the phone number {id} on user {user}'s contact list.

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/ilert:ilert-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

ilert-contacts-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: ilert REST Contacts API
  description: '# Introduction

    The ilert API is a RESTful API and provides programmatic access to entities in ilert and lets you easily integrate ilert with 3rd party tools.'
  version: v2.2026.5-r.3
  x-logo:
    url: ./ilert-logo-spaced.png
    backgroundColor: '#fafafa'
    altText: ilert documentation logo
servers:
- url: /api
security:
- apiKey: []
tags:
- name: Contacts
paths:
  /users/{user-id}/contacts/emails:
    get:
      tags:
      - Contacts
      summary: Get a user's emails
      parameters:
      - name: user-id
        in: path
        description: numeric user id
        required: true
        schema:
          type: string
      responses:
        '200':
          description: the response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/ContactEmail'
      operationId: getUsersByUserIdContactsEmails
      x-operation-id-source: derived
    post:
      tags:
      - Contacts
      summary: Create a new email
      parameters:
      - name: user-id
        in: path
        description: numeric user id
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ContactEmailPost'
        required: true
      responses:
        '201':
          description: the response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ContactEmail'
      x-codegen-request-body-name: user email contact
      operationId: postUsersByUserIdContactsEmails
      x-operation-id-source: derived
  /users/{user-id}/contacts/emails/{id}:
    get:
      tags:
      - Contacts
      summary: Get a specific email
      parameters:
      - name: user-id
        in: path
        description: numeric user id
        required: true
        schema:
          type: string
      - name: id
        in: path
        description: entity ID
        required: true
        schema:
          type: number
      responses:
        '200':
          description: the response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ContactEmail'
      operationId: getUsersByUserIdContactsEmailsById
      x-operation-id-source: derived
    put:
      tags:
      - Contacts
      summary: Update a user's email
      parameters:
      - name: user-id
        in: path
        description: numeric user id
        required: true
        schema:
          type: string
      - name: id
        in: path
        description: entity ID
        required: true
        schema:
          type: number
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ContactEmailPost'
        required: false
      responses:
        '200':
          description: the response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ContactEmail'
      x-codegen-request-body-name: user email contact
      operationId: putUsersByUserIdContactsEmailsById
      x-operation-id-source: derived
    delete:
      tags:
      - Contacts
      summary: Delete the user's specified email
      parameters:
      - name: user-id
        in: path
        description: numeric user id
        required: true
        schema:
          type: string
      - name: id
        in: path
        description: entity ID
        required: true
        schema:
          type: number
      responses:
        '204':
          description: if deletion was successful
          content: {}
      operationId: deleteUsersByUserIdContactsEmailsById
      x-operation-id-source: derived
  /users/{user-id}/contacts/phone-numbers:
    get:
      tags:
      - Contacts
      summary: Get a user's phone numbers
      parameters:
      - name: user-id
        in: path
        description: numeric user id
        required: true
        schema:
          type: string
      responses:
        '200':
          description: the response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/ContactPhoneNumber'
      operationId: getUsersByUserIdContactsPhoneNumbers
      x-operation-id-source: derived
    post:
      tags:
      - Contacts
      summary: Create a phone number
      parameters:
      - name: user-id
        in: path
        description: numeric user id
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ContactPhoneNumberPost'
        required: true
      responses:
        '201':
          description: the response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ContactPhoneNumber'
      x-codegen-request-body-name: user phone number contact
      operationId: postUsersByUserIdContactsPhoneNumbers
      x-operation-id-source: derived
  /users/{user-id}/contacts/phone-numbers/{id}:
    get:
      tags:
      - Contacts
      summary: Get specific phone number
      parameters:
      - name: user-id
        in: path
        description: numeric user id
        required: true
        schema:
          type: string
      - name: id
        in: path
        description: entity ID
        required: true
        schema:
          type: number
      responses:
        '200':
          description: the response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ContactPhoneNumber'
      operationId: getUsersByUserIdContactsPhoneNumbersById
      x-operation-id-source: derived
    put:
      tags:
      - Contacts
      summary: Update a user's phone number
      parameters:
      - name: user-id
        in: path
        description: numeric user id
        required: true
        schema:
          type: string
      - name: id
        in: path
        description: entity ID
        required: true
        schema:
          type: number
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ContactPhoneNumberPost'
        required: false
      responses:
        '200':
          description: the response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ContactPhoneNumber'
      x-codegen-request-body-name: user phone number contact
      operationId: putUsersByUserIdContactsPhoneNumbersById
      x-operation-id-source: derived
    delete:
      tags:
      - Contacts
      summary: Delete the user's specified phone number
      parameters:
      - name: user-id
        in: path
        description: numeric user id
        required: true
        schema:
          type: string
      - name: id
        in: path
        description: entity ID
        required: true
        schema:
          type: number
      responses:
        '204':
          description: if deletion was successful
          content: {}
      operationId: deleteUsersByUserIdContactsPhoneNumbersById
      x-operation-id-source: derived
components:
  schemas:
    ContactPhoneNumberPost:
      type: object
      properties:
        regionCode:
          type: string
        target:
          type: string
        primary:
          type: boolean
          description: May only be enabled for a single phone number contact at a time
    ContactEmailPost:
      type: object
      properties:
        target:
          type: string
    ContactEmail:
      type: object
      properties:
        id:
          type: integer
          format: int64
        target:
          type: string
        status:
          $ref: '#/components/schemas/ContactStatus'
    ContactPhoneNumber:
      type: object
      properties:
        id:
          type: integer
          format: int64
        regionCode:
          type: string
        target:
          type: string
        primary:
          type: boolean
          description: May only be enabled for a single phone number contact at a time
        status:
          $ref: '#/components/schemas/ContactStatus'
    ContactStatus:
      type: string
      enum:
      - OK
      - LOCKED
      - BLACKLISTED
  securitySchemes:
    apiKey:
      type: apiKey
      description: The Bearer API key of your user <a href='/api-docs/#section/Authentication'>more info</a>.
      name: Authorization
      in: header
x-original-swagger-version: '2.0'