Toshl Developer

Checkin

Check-in at a location on Foursquare. Clients can set an additional query parameter next which dictates to which url the client should get redirected after the check-in process.

POST /entries/locations/checkin

Required scope:

Parameters

venue_id
required
string

Foursquare venue id to check-in to.

shout
optional
string

A message about your check-in.

Max length: 140
broadcast
optional
array

Check-in broadcast settings.

Possible values: public, private, facebook, twitter
latitude
optional
number

Latitude.

longitude
optional
number

Longitude.

Request

$ curl https://api.toshl.com/entries/locations/checkin \
  -H "Authorization: Bearer T9cE5asGnuyYCCqIZFoWjFHvNbvVqHjl" \
  -H "Content-Type: application/json" \
  -X POST \
  -d '{"venue_id": "xyz", "shout": "Here I am!"}'

Response

HTTP/1.1 202 Accepted