Snapchat O Auth API
OAuth 2.0 authorization and token management endpoints for authenticating users via their Snapchat account.
OAuth 2.0 authorization and token management endpoints for authenticating users via their Snapchat account.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/snapchat-oauth-api"
curl "https://apis.io/api/v1/apis?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Snapchat Login Kit O Auth API
description: Snapchat Login Kit enables developers to let users sign up and log in to their apps using their Snapchat account credentials. Built on the OAuth 2.0 standard, it provides endpoints for authorization, token exchange, token refresh, and retrieving user profile information including display name and Bitmoji avatar. Login Kit is available for iOS, Android, and Web platforms.
version: '1.0'
contact:
name: Snap for Developers
url: https://developers.snap.com
termsOfService: https://snap.com/en-US/terms
servers:
- url: https://accounts.snapchat.com
description: Snapchat Accounts Server (OAuth)
- url: https://kit.snapchat.com/v1
description: Snapchat Kit API Server (Profile)
tags:
- name: OAuth
description: OAuth 2.0 authorization and token management endpoints for authenticating users via their Snapchat account.
paths:
/accounts/oauth2/auth:
get:
operationId: authorize
summary: Authorize a User via Snapchat
description: Redirects the user to the Snapchat authorization page where they can grant permission to the application. This is the initial step in the OAuth 2.0 authorization code flow. After authorization, the user is redirected back to the specified redirect URI with an authorization code.
tags:
- OAuth
parameters:
- name: client_id
in: query
required: true
description: The OAuth client ID assigned to the application.
schema:
type: string
- name: redirect_uri
in: query
required: true
description: The URI to redirect the user to after authorization. Must match one of the registered redirect URIs.
schema:
type: string
format: uri
- name: response_type
in: query
required: true
description: The OAuth response type. Use 'code' for authorization code flow or 'token' for implicit flow.
schema:
type: string
enum:
- code
- token
- name: scope
in: query
required: true
description: Space-separated list of requested scopes defining what user data the application wants access to.
schema:
type: string
examples:
- https://auth.snapchat.com/oauth2/api/user.display_name https://auth.snapchat.com/oauth2/api/user.bitmoji.avatar
- name: state
in: query
required: false
description: An opaque value used to maintain state between the request and callback for CSRF protection.
schema:
type: string
responses:
'302':
description: Redirects to Snapchat login page for user authorization
'400':
description: Bad request - invalid parameters
/login/oauth2/access_token:
post:
operationId: exchangeToken
summary: Exchange Authorization Code for Tokens
description: Exchanges an authorization code for an access token and refresh token. Access tokens expire after 3600 seconds (60 minutes). This endpoint is also used to refresh expired access tokens using a refresh token.
tags:
- OAuth
requestBody:
required: true
content:
application/x-www-form-urlencoded:
schema:
type: object
required:
- client_id
- client_secret
- grant_type
properties:
grant_type:
type: string
description: The type of token exchange. Use 'authorization_code' for initial exchange or 'refresh_token' for renewal.
enum:
- authorization_code
- refresh_token
client_id:
type: string
description: The OAuth client ID assigned to the application.
client_secret:
type: string
description: The OAuth client secret assigned to the application.
code:
type: string
description: The authorization code received from the authorization endpoint. Required when grant_type is authorization_code.
redirect_uri:
type: string
format: uri
description: The redirect URI used in the authorization request. Required when grant_type is authorization_code.
refresh_token:
type: string
description: The refresh token for obtaining a new access token. Required when grant_type is refresh_token.
responses:
'200':
description: Token exchange successful
content:
application/json:
schema:
$ref: '#/components/schemas/TokenResponse'
'400':
description: Bad request - invalid grant or parameters
content:
application/json:
schema:
$ref: '#/components/schemas/OAuthError'
'401':
description: Unauthorized - invalid client credentials
components:
schemas:
TokenResponse:
type: object
description: The response from a successful token exchange or refresh request.
properties:
access_token:
type: string
description: The access token for authenticating API requests.
token_type:
type: string
description: The type of token, always 'Bearer'.
enum:
- Bearer
expires_in:
type: integer
description: The number of seconds until the access token expires. Typically 3600 (60 minutes).
example: 3600
refresh_token:
type: string
description: The refresh token for obtaining new access tokens after expiration.
scope:
type: string
description: The scopes granted by the user during authorization.
OAuthError:
type: object
description: Error response from the OAuth token endpoint.
properties:
error:
type: string
description: The error code.
enum:
- invalid_request
- invalid_client
- invalid_grant
- unauthorized_client
- unsupported_grant_type
error_description:
type: string
description: A human-readable description of the error.
securitySchemes:
bearerAuth:
type: http
scheme: bearer
description: Bearer access token obtained via the OAuth 2.0 authorization code flow. Tokens expire after 3600 seconds.
externalDocs:
description: Snapchat Login Kit Documentation
url: https://developers.snap.com/snap-kit/login-kit/overview