GroundsocialDocs

API · Snapchat

GET /snapchat/spotlights/comments

Comments on a Snapchat Spotlight snap, paginated.

RequestGET /v1/snapchat/spotlights/comments
Operation idsnapchat.spotlight.comments
Cost1 credit, refunded if the call fails
AuthAPI key: Authorization: Bearer <key> or x-api-key.

Comments on a Snapchat Spotlight snap, paginated.

Query parameters

NameTypeRequiredDescription
urlstringyesA Spotlight link (snapchat.com/spotlight/<id> or snapchat.com/@<user>/spotlight/<id>) or its id. Example: https://www.snapchat.com/spotlight/W7_EDlXWTBiXAEEniNoMPwAAYaGR0aXRmdnF3AaIOhUIvAaIOYXABAAAAAA.
sincestringnoOnly comments on or after this date.
untilstringnoOnly comments on or before this date.
afterstringnoCursor: the previous page’s pagination.next_cursor.

Responses

StatusMeaningSchema
200A page of comments.SnapchatCommentsResponse
400Invalid input. Nothing was charged.Error
401Missing or invalid API key.Error
402Not enough credits, a spend cap was reached, or payment is required.Error
403The target is private, or the account is suspended.Error
404No public Snapchat profile or Spotlight snap by that name.Error
429Too many requests. Wait for Retry-After seconds.Error
503Snapchat is temporarily unavailable. Retryable; nothing was charged.Error

SnapchatCommentsResponse fields

FieldTypeDescription
snapIdstring
commentsSnapchatComment[]Ranked as Snapchat ranks them.
paginationobject

Errors use one shape everywhere; see Errors for every code and what to do.