Skip to main content
POST
Upload media

Authorizations

Authorization
string
header
required

Polymorfa organization key (pmfa_ prefix) or project token (pmfa_pt_ prefix). Client tokens are not accepted by Graph operations.

Path Parameters

version
string
required

Specifies version for this path parameter.

Example:

"v21.0"

phoneNumberId
string
required

Identifier for the phone number.

Example:

"123456789012345"

Body

multipart/form-data
messaging_product
string
required

Messaging product associated with this Graph API object.

Example:

"whatsapp"

type
string

Type discriminator for this object.

file
file

Specifies file for this graph graph media upload request.

Value constraints

Response

Media uploaded

id
string
required

Identifier for this resource.