Connect

Select Snapchat profile

Changed on

Complete the Snapchat connection flow by saving the selected Public Profile. Snapchat requires a Public Profile to publish content. Use X-Connect-Token if connecting via API key.

post/v1/connect/snapchat/select-profile

Request

  • Base URL: https://zernio.com/api
  • URL: https://zernio.com/api/v1/connect/snapchat/select-profile
  • Auth: HTTP bearer

Headers

X-Connect-Tokenstring

Short-lived connect token from the OAuth redirect (for API users)

Request body

profileIdstring required

Your Zernio profile ID

tempTokenstring required

Temporary Snapchat access token from OAuth

userProfileobject required

User profile data from OAuth redirect

refreshTokenstring

Snapchat refresh token (if available)

expiresIninteger

Token expiration time in seconds

redirect_urlstring uri

Custom redirect URL after connection completes

Response

Snapchat Public Profile connected successfully

messagestring
redirect_urlstring

Redirect URL with connection params (if provided in request)

Changes

    • warning

      added the new account enum value to the / response property for the response status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status