Skip to content
  • Get version

    Request

    Use the version resource to get the current version of the API.

    Cost: 0 credits

    Query
    formatstring

    Specify the desired format of the response.

    Enum:"json""xml"
    Example:format=json
    Headers
    Acceptstringrequired

    Format of the response.

    Enum:"application/json""*/*"
    Example:*/*
    Content-Typestringrequired

    Format of the request.

    Enum:"application/json""application/xml"
    curl -i -X GET \
      https://electedofficials.melissadata.net/v3.1/version \
      -H 'Accept: */*' \
      -H 'Content-Type: application/json'

    Responses

    Successful response

    Body
    responseobject
    Response
    { "response": { "errors": [], "messages": [], "results": { … } } }