Skip to navigation

Import a GIF or sticker

Imports one chosen GIF or sticker into the creator’s account as a media asset.

Sending it

Because the asset belongs to the creator’s account, you send it like any other media: pass attachments: [mediaAssetId] to POST /partner/v1/accounts/{creatorId}/conversations/{conversationId}/messages once the asset’s media status (GET /partner/v1/accounts/{creatorId}/media/assets/status) reports it ready. A message may carry the media alone, without text.

Idempotency

Importing the same asset again is how you check on it: 200 with imported once it is done, 202 with in_progress while it runs.

Errors

  • 422 IMPORT_FAILED — the import failed.

Required scopes: write:messages.

Authentication

AuthorizationBearer

OAuth 2.0 client credentials. Request an access token at POST /partner/v1/oauth/token (grant_type=client_credentials) with the application’s client secret or a private_key_jwt assertion, then send it as Authorization: Bearer evpa_live_… (or evpa_test_… for a sandbox application). Tokens are opaque and short lived (see expires_in); there is no refresh token. Each operation lists the scopes it requires.

Required scopes:write:messages

Path parameters

creatorIdstringRequired>=1 character

The creator profile id — the ONLY source of the creator a request acts for.

Headers

X-Creator-IdstringOptional

Optional echo of the path creatorId; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.

Request

This endpoint expects an object.
providerstringRequired
providerAssetIdstringRequired

Response

Imported. The asset must still become ready before you can attach it.
importobject

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
422
Unprocessable Entity Error
429
Too Many Requests Error
500
Internal Server Error
503
Service Unavailable Error