Skip to content

    Arabic or English · ↑↓ to move · Enter to open · Esc to close

    العربية
    On this page

    Account & keys

    Who am I (connectivity test)

    GET/v2/me
    • Scope:any key
    • Idempotency-Key:not used
    • read only

    Returns the account, the key prefix, scopes, numbers and your IP as seen by Mursilat.

    Parameters

    Headers

    NameTypeConstraintsDescription
    X-Request-IdoptionalTypestringConstraints—DescriptionOptional: your own request id, echoed back (otherwise we generate req_…). Quote it to support.

    Request

    curl -X GET "https://mursilat.com/api/v2/me" \
      -H "Authorization: Bearer $WASLA_API_KEY"

    Response

    200Example

    200 — application/json
    {
      "accountId": "cmv0…",
      "keyType": "account",
      "key": {
        "id": "cmv7…",
        "name": "Shop backend",
        "prefix": "wsl_live_Ab12Cd34",
        "expiresAt": null
      },
      "scopes": [
        "messages:send",
        "messages:read"
      ],
      "numbers": "ALL",
      "clientIp": "203.0.113.10"
    }

    Response schema

    Fields of the example answer. Expand objects and arrays.

    • responseobject6 fields
      • accountIdstring "cmv0…"
      • keyTypestring "account"
      • keyobject4 fields
        • idstring "cmv7…"
        • namestring "Shop backend"
        • prefixstring "wsl_live_Ab12Cd34"
        • expiresAtnull null
      • scopesarray2 items
        • [0]string "messages:send"
      • numbersstring "ALL"
      • clientIpstring "203.0.113.10"

    Errors

    Besides the authentication, rate-limit and validation errors every endpoint can return:

    Errors →

    Try it

    Send this request from your browser to the Mursilat API.

    documented example

    Preview — this copy of the docs isn’t on mursilat.com, so the console shows the documented example instead of calling the API.

    Real requests use your real number and plan: they can send WhatsApp messages, spend quota and delete data. (read only)

    Kept only in this tab’s memory: never saved, never put in the URL, sent only to mursilat.com. Reloading the page forgets it.

    The same request with curl
    curl -X GET 'https://mursilat.com/api/v2/me' \
      -H "Authorization: Bearer $WASLA_API_KEY" \
      -H 'Accept: application/json'

    Send this request for real?

    GET https://mursilat.com/api/v2/me