Ranla Integrations API

The Integrations API from Ranla — 3 operation(s) for integrations.

GitHub OpenAPI

Operations 9

GET /integrations/cloudflare Get Cloudflare integration status #
PUT /integrations/cloudflare Save Cloudflare API token #
DELETE /integrations/cloudflare Disconnect Cloudflare #
GET /integrations/vercel Get Vercel integration status #
PUT /integrations/vercel Save Vercel API token #
DELETE /integrations/vercel Disconnect Vercel #
GET /integrations/twilio Get Twilio integration status #
PUT /integrations/twilio Connect Twilio for SMS automations #
DELETE /integrations/twilio Disconnect Twilio #

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/ranla-ai:ranla-ai-integrations-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

ranla-ai-integrations-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Ranla Integrations API
  version: 0.12.0
  description: 'Transactional email API for developers.

    Auth: `Authorization: Bearer rnl_…` or `stx_…` (or dashboard session cookie for integrations).

    Production base URL: https://api.ranla.ai'
servers:
- url: https://api.ranla.ai
  description: Production
tags:
- name: Integrations
paths:
  /integrations/cloudflare:
    get:
      operationId: getCloudflareIntegration
      summary: Get Cloudflare integration status
      tags:
      - Integrations
      description: Session cookie auth (dashboard). Never returns the raw API token.
      responses:
        '200':
          description: Connection status
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CloudflareIntegrationResponse'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SimpleErrorResponse'
    put:
      operationId: putCloudflareIntegration
      summary: Save Cloudflare API token
      tags:
      - Integrations
      description: Session cookie auth. Token is encrypted at rest.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - apiToken
              properties:
                apiToken:
                  type: string
                  description: Cloudflare API token with Zone DNS Edit
      responses:
        '200':
          description: Token saved
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CloudflareIntegrationResponse'
        '400':
          description: Missing token
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SimpleErrorResponse'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SimpleErrorResponse'
        '503':
          description: Encryption key not configured
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SimpleErrorResponse'
    delete:
      operationId: deleteCloudflareIntegration
      summary: Disconnect Cloudflare
      tags:
      - Integrations
      description: Session cookie auth. Clears the stored token.
      responses:
        '200':
          description: Disconnected
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CloudflareIntegrationResponse'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SimpleErrorResponse'
  /integrations/vercel:
    get:
      operationId: getVercelIntegration
      summary: Get Vercel integration status
      tags:
      - Integrations
      description: Session cookie auth (dashboard). Never returns the raw API token.
      responses:
        '200':
          description: Connection status
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/VercelIntegrationResponse'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SimpleErrorResponse'
    put:
      operationId: putVercelIntegration
      summary: Save Vercel API token
      tags:
      - Integrations
      description: Session cookie auth. Token is encrypted at rest.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - apiToken
              properties:
                apiToken:
                  type: string
                  description: Vercel API token with DNS access
                teamId:
                  type: string
                  nullable: true
                  description: Optional Vercel team id for team-scoped domains
      responses:
        '200':
          description: Token saved
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/VercelIntegrationResponse'
        '400':
          description: Missing token
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SimpleErrorResponse'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SimpleErrorResponse'
        '503':
          description: Encryption key not configured
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SimpleErrorResponse'
    delete:
      operationId: deleteVercelIntegration
      summary: Disconnect Vercel
      tags:
      - Integrations
      description: Session cookie auth. Clears the stored token.
      responses:
        '200':
          description: Disconnected
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/VercelIntegrationResponse'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SimpleErrorResponse'
  /integrations/twilio:
    get:
      operationId: getTwilioIntegration
      summary: Get Twilio integration status
      tags:
      - Integrations
      description: 'Bearer `rnl_…` (full-access key) or dashboard session cookie.

        Never returns raw Account SID or Auth Token.'
      security:
      - bearerAuth: []
      responses:
        '200':
          description: Connection status
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TwilioIntegrationResponse'
        '401':
          description: Missing or invalid API key / session
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '403':
          description: Sending-scoped API key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    put:
      operationId: putTwilioIntegration
      summary: Connect Twilio for SMS automations
      tags:
      - Integrations
      description: 'Bearer `rnl_…` (full-access key) or dashboard session cookie.

        Validates credentials against Twilio, then encrypts them at rest.

        Provide `defaultFrom` and/or `messagingServiceSid` for `send_sms` automation steps.'
      security:
      - bearerAuth: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TwilioConnectRequest'
      responses:
        '200':
          description: Twilio connected
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TwilioIntegrationResponse'
        '400':
          description: Validation or Twilio rejected credentials
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SimpleErrorResponse'
        '401':
          description: Missing or invalid API key / session
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '403':
          description: Sending-scoped API key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '503':
          description: Encryption key not configured
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SimpleErrorResponse'
    delete:
      operationId: deleteTwilioIntegration
      summary: Disconnect Twilio
      tags:
      - Integrations
      description: Bearer `rnl_…` (full-access key) or dashboard session cookie.
      security:
      - bearerAuth: []
      responses:
        '200':
          description: Disconnected
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TwilioIntegrationResponse'
        '401':
          description: Missing or invalid API key / session
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '403':
          description: Sending-scoped API key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
components:
  schemas:
    VercelIntegrationStatus:
      type: object
      required:
      - connected
      - hint
      - connectedAt
      - teamId
      properties:
        connected:
          type: boolean
        hint:
          type: string
          nullable: true
          description: Last 4 characters of the stored token
        connectedAt:
          type: string
          format: date-time
          nullable: true
        teamId:
          type: string
          nullable: true
          description: Optional Vercel team id for team-scoped DNS
    SimpleErrorResponse:
      type: object
      required:
      - error
      properties:
        error:
          type: string
    ErrorResponse:
      type: object
      required:
      - error
      properties:
        error:
          type: object
          required:
          - message
          properties:
            message:
              type: string
            code:
              $ref: '#/components/schemas/ErrorCode'
            upgrade_url:
              type: string
              description: Dashboard path to upgrade when code is plan_limit or domain_limit
            details:
              description: 'Optional structured details. For send blocks this may include `suppressed` (global suppression list) or `category_unsubscribed` plus `category` and `email_id` (category opt-out).

                '
    TwilioIntegrationResponse:
      type: object
      required:
      - twilio
      properties:
        twilio:
          $ref: '#/components/schemas/TwilioIntegrationStatus'
    TwilioIntegrationStatus:
      type: object
      required:
      - connected
      - hint
      - connectedAt
      - defaultFrom
      - messagingServiceSid
      properties:
        connected:
          type: boolean
        hint:
          type: string
          nullable: true
          description: Last 4 characters of the stored Account SID
        connectedAt:
          type: string
          format: date-time
          nullable: true
        defaultFrom:
          type: string
          nullable: true
          description: Default E.164 From number for send_sms steps
        messagingServiceSid:
          type: string
          nullable: true
          description: Default Twilio Messaging Service SID for send_sms steps
    TwilioConnectRequest:
      type: object
      required:
      - accountSid
      - authToken
      properties:
        accountSid:
          type: string
          description: Twilio Account SID (AC…)
        authToken:
          type: string
          description: Twilio Auth Token
        defaultFrom:
          type: string
          description: Default E.164 From number (required if messagingServiceSid omitted)
        messagingServiceSid:
          type: string
          description: Default Messaging Service SID (required if defaultFrom omitted)
    CloudflareIntegrationResponse:
      type: object
      required:
      - cloudflare
      properties:
        cloudflare:
          $ref: '#/components/schemas/CloudflareIntegrationStatus'
    VercelIntegrationResponse:
      type: object
      required:
      - vercel
      properties:
        vercel:
          $ref: '#/components/schemas/VercelIntegrationStatus'
    CloudflareIntegrationStatus:
      type: object
      required:
      - connected
      - hint
      - connectedAt
      properties:
        connected:
          type: boolean
        hint:
          type: string
          nullable: true
          description: Last 4 characters of the stored token
        connectedAt:
          type: string
          format: date-time
          nullable: true
    ErrorCode:
      type: string
      description: Machine-readable error code
      enum:
      - validation_error
      - unauthorized
      - forbidden
      - not_found
      - conflict
      - plan_limit
      - domain_limit
      - idempotency_conflict
      - rate_limited
      - upstream_error
      - not_configured
      - internal_error
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: Ranla API key prefixed with `rnl_` or `stx_`