Skip to main content
POST
/
service-token-get
Get service token
curl --request POST \
  --url https://api.agentic.scope3.com/mcp/v1/service-token-get \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'mcp-session-id: <mcp-session-id>' \
  --data '
{
  "params": {
    "name": "service_token_get",
    "arguments": {
      "id": "1234567890"
    }
  },
  "method": "tools/call",
  "jsonrpc": "2.0",
  "id": 1
}
'
{
  "content": [
    {
      "type": "text",
      "text": "string"
    }
  ],
  "structuredContent": {
    "id": 100,
    "customerId": 100,
    "name": "Example Name",
    "accessClientId": "example_id_123",
    "createdAt": "string",
    "updatedAt": "string",
    "seatId": 100,
    "userId": 100,
    "organizationId": 100,
    "description": "string",
    "accessClientSecret": "string",
    "expiresAt": "string",
    "archivedAt": "string"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

mcp-session-id
string<uuid>
required

MCP session identifier (UUID). Initialize your session by sending a POST request to this endpoint with method: "initialize" in the JSON-RPC body, then reuse the same session ID for all subsequent tool requests.

Body

application/json

Request body for service_token_get

params
object
required
method
enum<string>
required
Available options:
tools/call
jsonrpc
enum<string>
required
Available options:
2.0
id
required

Response

Successful response

content
object[]
required
structuredContent
object
required