> ## Documentation Index
> Fetch the complete documentation index at: https://docs.pilotstatus.com.br/llms.txt
> Use this file to discover all available pages before exploring further.

# Get by id

> Fetch a Graph node by id: media id → signed media URL + metadata (url rewritten to a Pilot download URL); group id → group info; phone-number id → number info; template id → template details.



## OpenAPI

````yaml openapi.meta.json GET /{id}
openapi: 3.1.0
info:
  title: Meta Cloud API Layer
  version: 1.0.0
  description: >-
    Pilot Status API Layer — Meta Cloud API (WhatsApp Cloud API / Graph API
    passthrough). Base URL `https://pilotstatus.com.br/api/layer/meta`. Call
    Graph API nodes exactly as on `graph.facebook.com/<version>/` — Pilot swaps
    your `ps_` key for the number's real Meta system token. The `vNN.N` version
    prefix is optional (defaults to v22.0). Account/business/auth management and
    number (de)registration are blocked.
servers:
  - url: https://pilotstatus.com.br/api/layer/meta
security:
  - apiKey: []
tags:
  - name: Messages
  - name: Media
  - name: By id
  - name: Templates
  - name: Phone numbers
  - name: Business profile
  - name: Groups
  - name: Calls
paths:
  /{id}:
    get:
      tags:
        - By id
      summary: Get by id
      description: >-
        Fetch a Graph node by id: media id → signed media URL + metadata (url
        rewritten to a Pilot download URL); group id → group info; phone-number
        id → number info; template id → template details.
      operationId: get__id
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
          description: >-
            A Graph node id — its meaning depends on the operation (see the
            description).
      responses:
        '200':
          description: Meta Graph API response.
          content:
            application/json:
              schema:
                type: object
                properties:
                  url:
                    type: string
                    description: Signed download URL (rewritten to a Pilot URL).
                  mime_type:
                    type: string
                  sha256:
                    type: string
                  file_size:
                    type: integer
                  id:
                    type: string
                  messaging_product:
                    type: string
                description: >-
                  Media metadata (when id is a media id). Group / phone-number /
                  template ids return their own node shape.
              example:
                url: https://pilotstatus.com.br/api/layer/meta/media-download?t=...
                mime_type: image/jpeg
                sha256: 9e1...
                file_size: 12345
                id: '1234567890'
                messaging_product: whatsapp
        default:
          description: Meta Graph API error.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      message:
                        type: string
                        description: Human-readable error.
                      type:
                        type: string
                        description: e.g. `OAuthException`.
                      code:
                        type: integer
                      error_subcode:
                        type: integer
                      error_data:
                        type: object
                      fbtrace_id:
                        type: string
                description: Meta Graph API error envelope.
              example:
                error:
                  message: (#131030) Recipient phone number not in allowed list
                  type: OAuthException
                  code: 131030
                  fbtrace_id: A...
components:
  securitySchemes:
    apiKey:
      type: apiKey
      in: header
      name: x-api-key
      description: >-
        Your Pilot Status API key (ps_...). You may also send `Authorization:
        Bearer ps_...` or `?access_token=ps_...`.

````