Skip to main content

Get resource by ID

GET 

/v1/:resource_id

Fetches any Graph API resource by its ID: a number (phone_number_id), a business account (waba_id), a template or a media file (media_id).

What comes back depends on the resource type and the fields you ask for. For media, the response carries a temporary url that needs the Authorization header to download.

Request​

Responses​

Meta Cloud API's response, passed through unchanged. The shape depends on the endpoint — see Meta's documentation.

Response Headers
    X-RateLimit-Category

    Which rate limit category applied — send, media or default.

    X-RateLimit-Scope

    Which bucket the other headers describe — key (the API key), session (the dashboard) or account (the account ceiling).

    X-RateLimit-Limit

    Request ceiling for this category in the current window.

    X-RateLimit-Remaining

    Requests left in the current window.