Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
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.
openapi: 3.2.0
info:
version: '2.0'
title: Open311 GeoReport Tokens API
description: Open311 allows you to get/post civic information of cities via a unified interface. The GeoReport part allows you to submit and view issues at the public local space
termsOfService: (depends on server instance for example NYC http://dev.cityofchicago.org/docs/api/tos)
contact:
name: Open311 community
url: http://wiki.open311.org/GeoReport_v2/
email: discuss@lists.open311.org
license:
name: CC BY 3.0
url: http://creativecommons.org/licenses/by/3.0/
tags:
- name: Tokens
paths:
/tokens/{token_id}.{response_format}:
get:
summary: Id of service_request via token
description: Get the service_request_id from a temporary token. This is unnecessary if the response from creating a service request does not contain a token.
parameters:
- $ref: '#/components/parameters/jurisdiction_id'
- $ref: '#/components/parameters/response_format'
- name: token_id
in: path
required: true
schema:
type: string
format: uid
responses:
200:
description: returns tuple request ID, token
content:
application/json:
schema:
$ref: '#/components/schemas/TokenResponse'
text/xml:
schema:
$ref: '#/components/schemas/TokenResponse'
tags:
- Tokens
operationId: getTokensByTokenId}{responseFormat
x-operation-id-source: derived
components:
parameters:
jurisdiction_id:
name: jurisdiction_id
in: query
description: <?>
required: true
schema:
type: string
format: uid
response_format:
name: response_format
in: path
required: true
schema:
type: string
format: uid
schemas:
TokenResponse:
description: Resolves temporary token to ID of the request
properties:
service_request_id:
type: string
format: uid
description: Unique ID of the service request created.
token:
type: string
format: uid
description: Use this to call GET service_request_id
securitySchemes:
api_key:
type: apiKey
name: api_key
in: query