América Móvil · Arazzo Workflow

Account-takeover check for a Brazilian mobile line

Version 1.0.0

Before trusting a phone number as an authentication factor, ask Claro Brasil two questions: has the SIM pairing changed recently, and where is the device on the network? Step one is the decision gate — if the SIM was swapped inside the window, stop and escalate rather than spending a location lookup on a line you already distrust.

1 workflow 3 source APIs 1 provider
View Spec View on GitHub TelecommunicationsMexicoLatin AmericaMobile Network OperatorNetwork APIsCAMARAOpen GatewaySIM SwapIdentity VerificationDevice LocationBroadband5GCarrierArazzoWorkflows

Provider

america-movil

Workflows

account-takeover-check
Check for a recent SIM swap, then locate the device if the line is still trusted.
Requires an OAuth 2.0 client-credentials token from https://api.claro.com.br/oauth2/v1/token, issued to a registered Claro Insight account with both APIs contracted.
3 steps inputs: locationType, maxAge, msisdn, phoneNumber outputs: deviceLocation, latestSimChange, swapped, transactionId
1
check-sim-swap
Ask whether the SIM pairing changed inside the lookback window.
2
retrieve-sim-swap-date
Read the exact timestamp of the last pairing change, for the audit record behind the decision.
3
locate-device
Only meaningful when the line is still trusted. Returns the network-derived position with its accuracy shape and the age of the fix.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Account-takeover check for a Brazilian mobile line
  version: 1.0.0
  description: >-
    Before trusting a phone number as an authentication factor, ask Claro Brasil
    two questions: has the SIM pairing changed recently, and where is the device
    on the network? Step one is the decision gate — if the SIM was swapped inside
    the window, stop and escalate rather than spending a location lookup on a
    line you already distrust.
  x-realizes-capability-ids:
  - BC-2690
  x-capability-derivation:
    method: 'deterministic join: sourceDescriptions -> per-tag OpenAPI -> tag/capability edge. No classification at this step.'
    min_confidence: 0.7
    sources:
    - capability_id: BC-2690
      capability_name: Telecom Fraud Management
      spec: america-movil-check-sim-swap-api-openapi.yml
      confidence: 0.7
    model: Turbo EA Capabilities by Vincent Verdet — Turbo EA, https://github.com/vincentmakes/turbo-ea-capabilities, CC BY 4.0
x-generated: '2026-07-25'
x-method: generated
x-source: >-
  Composed from operations verified in the two harvested Claro Brasil OpenAPI
  documents. Both operationIds exist verbatim in the referenced specs.
sourceDescriptions:
- name: checkSimSwapApi
  url: ../openapi/america-movil-check-sim-swap-api-openapi.yml
  type: openapi
- name: deviceLocationsApi
  url: ../openapi/america-movil-device-locations-api-openapi.yml
  type: openapi
- name: retrieveSimSwapDateApi
  url: ../openapi/america-movil-retrieve-sim-swap-date-api-openapi.yml
  type: openapi
workflows:
- workflowId: account-takeover-check
  summary: Check for a recent SIM swap, then locate the device if the line is still trusted.
  description: >-
    Requires an OAuth 2.0 client-credentials token from
    https://api.claro.com.br/oauth2/v1/token, issued to a registered Claro
    Insight account with both APIs contracted.
  inputs:
    type: object
    required: [phoneNumber, msisdn]
    properties:
      phoneNumber:
        type: string
        description: Line under evaluation, E.164 with country code.
        example: '+5511999999999'
      msisdn:
        type: string
        description: Same line in bare international format, as the LBS header expects.
        example: '5511999999999'
      maxAge:
        type: integer
        description: SIM-swap lookback window in hours (1-2400).
        default: 240
      locationType:
        type: string
        description: CURRENT, LAST, CURRENT_OR_LAST or LAST_OR_CURRENT.
        default: LAST
  steps:
  - stepId: check-sim-swap
    description: Ask whether the SIM pairing changed inside the lookback window.
    operationId: checkSimSwap
    requestBody:
      contentType: application/json
      payload:
        phoneNumber: $inputs.phoneNumber
        maxAge: $inputs.maxAge
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      swapped: $response.body#/swapped
  - stepId: retrieve-sim-swap-date
    description: >-
      Read the exact timestamp of the last pairing change, for the audit record
      behind the decision.
    operationId: retrieveSimSwapDate
    requestBody:
      contentType: application/json
      payload:
        phoneNumber: $inputs.phoneNumber
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      latestSimChange: $response.body#/latestSimChange
  - stepId: locate-device
    description: >-
      Only meaningful when the line is still trusted. Returns the network-derived
      position with its accuracy shape and the age of the fix.
    operationId: device-locations-v1
    parameters:
    - name: X-QueryString
      in: header
      value: MSISDN={$inputs.msisdn}&locationType={$inputs.locationType}
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      transactionId: $response.body#/transactionId
      deviceLocation: $response.body#/data
  outputs:
    swapped: $steps.check-sim-swap.outputs.swapped
    latestSimChange: $steps.retrieve-sim-swap-date.outputs.latestSimChange
    deviceLocation: $steps.locate-device.outputs.deviceLocation
    transactionId: $steps.locate-device.outputs.transactionId

Work with this as data

Every workflow 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 arazzo workflows

4 MCP tools reach this
  • find_arazzoBrowse and filter every workflow in the catalog.
  • 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 workflow
curl "https://apis.io/api/v1/arazzo/america-movil-account-takeover-check"
All arazzo workflows
curl "https://apis.io/api/v1/arazzo?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.