Instasent · Schema

OAuth token response

A freshly issued access and refresh token pair. Both grants return the same shape. Store the new `refresh_token`: the one you presented is no longer valid.

CompanyMessagingSMSRCSWhatsAppArtificial IntelligenceMarketing

Properties

Name Type Description
access_token string Product API bearer token (`isoa_` prefix). Send it as `Authorization: Bearer `.
token_type string Always `Bearer`.
expires_in integer Access token lifetime in seconds (24 hours).
refresh_token string Single-use refresh token replacing the previous one. Use it against `POST /oauth/token` with `grant_type=refresh_token`.
scope string Space-delimited permissions granted by the user. Present on the authorization code exchange when the consent carried permissions; **omitted on refresh**, where the granted set is unchanged for an API
View JSON Schema on GitHub

JSON Schema

instasent-oauth-token-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/instasent/json-schema/instasent-oauth-token-response-schema.json",
  "title": "OAuth token response",
  "description": "A freshly issued access and refresh token pair. Both grants return the same\nshape. Store the new `refresh_token`: the one you presented is no longer\nvalid.\n",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/instasent-oauth-api-openapi.yml#/components/schemas/OAuthTokenResponse",
  "type": "object",
  "properties": {
    "access_token": {
      "type": "string",
      "description": "Product API bearer token (`isoa_` prefix). Send it as\n`Authorization: Bearer <access_token>`.\n"
    },
    "token_type": {
      "type": "string",
      "description": "Always `Bearer`.",
      "enum": [
        "Bearer"
      ]
    },
    "expires_in": {
      "type": "integer",
      "description": "Access token lifetime in seconds (24 hours)."
    },
    "refresh_token": {
      "type": "string",
      "description": "Single-use refresh token replacing the previous one. Use it against\n`POST /oauth/token` with `grant_type=refresh_token`.\n"
    },
    "scope": {
      "type": "string",
      "description": "Space-delimited permissions granted by the user. Present on the\nauthorization code exchange when the consent carried permissions;\n**omitted on refresh**, where the granted set is unchanged for an API\nclient and re-resolved server-side for an MCP one. Read the\nauthoritative granted set from `GET /` at any time.\n"
    }
  },
  "required": [
    "access_token",
    "token_type",
    "expires_in",
    "refresh_token"
  ]
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/instasent-oauth-token-response"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

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.

A second provider on the same verified email joins the account you already have.