Select Snapchat profile
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.
API key authentication - use your Late API key as a Bearer token
In: header
Header Parameters
Short-lived connect token from the OAuth redirect (for API users)
Your Late profile ID
The selected Snapchat Public Profile
Temporary Snapchat access token from OAuth
User profile data from OAuth redirect
Snapchat refresh token (if available)
Token expiration time in seconds
Custom redirect URL after connection completes
uriResponse Body
application/json
application/json
application/json
application/json
curl -X POST "https://getlate.dev/api/v1/connect/snapchat/select-profile" \ -H "Content-Type: application/json" \ -d '{ "profileId": "64f0a1b2c3d4e5f6a7b8c9d0", "selectedPublicProfile": { "id": "abc123-def456", "display_name": "My Brand", "username": "mybrand", "profile_image_url": "https://cf-st.sc-cdn.net/...", "subscriber_count": 15000 }, "tempToken": "eyJ...", "userProfile": { "id": "user123", "username": "mybrand", "displayName": "My Brand", "profilePicture": "https://cf-st.sc-cdn.net/..." }, "redirect_url": "https://yourapp.com/callback" }'{
"message": "Snapchat connected successfully with public profile",
"redirect_url": "https://yourdomain.com/integrations/callback?connected=snapchat&profileId=507f1f77bcf86cd799439011&publicProfile=My+Brand",
"account": {
"accountId": "64e1f0a9e2b5af0012ab34cd",
"platform": "snapchat",
"username": "mybrand",
"displayName": "My Brand",
"profilePicture": "https://cf-st.sc-cdn.net/...",
"isActive": true,
"publicProfileName": "My Brand"
}
}{
"error": "Missing required fields"
}{
"error": "Unauthorized"
}{
"error": "Forbidden"
}List Snapchat profiles GET
For headless flows. Returns Snapchat Public Profiles the user can post to. Use X-Connect-Token from the redirect URL.
Get post analytics GET
Returns analytics for posts. With postId, returns a single post. Without it, returns a paginated list with overview stats. Accepts both Late Post IDs and External Post IDs (auto-resolved). Data is cached and refreshed at most once per hour. For follower stats, use /v1/accounts/follower-stats.