Chilkat Online Tools

Swift / DocuSign REST API / Retrieves the available REST API versions.

Back to Collection Items

func chilkatTest() {
    // This example assumes the Chilkat API to have been previously unlocked.
    // See Global Unlock Sample for sample code.

    let http = CkoHttp()
    var success: Bool

    // Adds the "Authorization: Bearer {{accessToken}}" header.
    http.AuthToken = "{{accessToken}}"
    http.SetRequestHeader("Accept", value: "application/json")

    let sbResponseBody = CkoStringBuilder()
    success = http.QuickGetSb("", sbContent: sbResponseBody)
    if success == false {

    print("Response status code = \(http.LastStatus.intValue)")


Curl Command

curl -X GET
	-H "Accept: application/json"
	-H "Authorization: Bearer {{accessToken}}"

Postman Collection Item JSON

  "name": "Retrieves the available REST API versions.",
  "request": {
    "method": "GET",
    "header": [
        "key": "Accept",
        "value": "application/json"
        "key": "Authorization",
        "value": "Bearer {{accessToken}}"
    "url": {
      "raw": "{{baseUrl}}/service_information",
      "host": [
      "path": [
    "description": "Retrieves the available REST API versions.\n\nDocuSign Production system:\nDocuSign Demo system:\n\nYou do not need an integrator key to view the REST API versions and resources."
  "response": [