LogoLogo
ProductsDevelopersAPI ReferenceContact Us
API Reference
API Reference
  • Overview
  • Products
    • Super SIM
      • Sim Resource
        • Sim BillingPeriod subresource
      • ESimProfile Resource
      • Fleet Resource
      • NetworkAccessProfile Resource
        • NetworkAccessProfile Network Subresource
      • Network Resource
      • SettingsUpdates Resource
      • Usage Record Resource
      • SMSCommand Resource
      • IPCommand Resource
    • Programmable Wireless
      • Account UsageRecord Resource
      • Command Resource
      • DataSession Resource
      • RatePlan Resource
      • Wireless Sim Resource
      • Sim UsageRecord Resource
  • Global Resources
    • API Clients
      • Ping
      • Clients
    • Identity and Access Management
      • Account
    • Webhook
On this page

Was this helpful?

  1. Global Resources
  2. Identity and Access Management

Account

PreviousIdentity and Access ManagementNextWebhook

Last updated 4 months ago

Was this helpful?

API Authorization

Before you can make requests to this resource, you must have a valid bearer token. Review our API to learn how to generate a token. Here's a curl example of how to define your access token in a header:

curl -L "https://iam.api.korewireless.com/v1/accounts" -H "Authorization: Bearer <YOUR_ACCESS_TOKEN>" 

The examples below do not show the required Authorization header due to a bug. We're working on fixing that. In the meantime, be sure to include that in all of your requests.

authorization guide

Get Platform Account mappings

get

This endpoint retrieves the platform mappings for an account and its child accounts.

Authorizations
Query parameters
account_idstringOptional

The account ID is a unique identifier of your account, which begins with acct_. This optional filter parameter lets you get platforms mapped to a specific account.

Example: acct_xxx
Header parameters
AuthorizationstringOptional
AcceptstringOptional
Content-TypestringOptional
Responses
200
200 response
application/json
400
Invalid request
application/json
401
Credentials were not provided and are required to access this resource
application/json
403
Forbidden error
application/json
404
Resource not found
application/json
409
Conflict error
application/json
422
Unprocessable Content
application/json
500
Internal Server Error
application/json
503
Server is temporarily not available
application/json
get
GET /v1/platform_account_mappings HTTP/1.1
Host: iam.api.korewireless.com
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
{
  "platforms": [
    {
      "id": "text",
      "legacy_account_id": "text",
      "platform": "twilio"
    }
  ]
}

Get All Accounts

get

This endpoint retrieves the information for an account and its child accounts.

Authorizations
Query parameters
account_idstringOptional

The account ID is a unique identifier of your account, which begins with acct_. This optional filter parameter lets you get information for a specific account.

Example: acct_xxx
Header parameters
AuthorizationstringOptional
AcceptstringOptional
Content-TypestringOptional
Responses
200
200 response
application/json
400
Invalid request
application/json
401
Credentials were not provided and are required to access this resource
application/json
403
Forbidden error
application/json
404
Resource not found
application/json
409
Conflict error
application/json
422
Unprocessable Content
application/json
500
Internal Server Error
application/json
503
Server is temporarily not available
application/json
get
GET /v1/accounts HTTP/1.1
Host: iam.api.korewireless.com
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
{
  "accounts": [
    {
      "id": "text",
      "parent_id": "text",
      "date_created": "text",
      "friendly_name": "text",
      "status": "ACTIVE"
    }
  ]
}
  • API Authorization
  • GETGet Platform Account mappings
  • POSTCreate Child Account
  • GETGet All Accounts

Create Child Account

post

This endpoint is used to create a child account.

Authorizations
Header parameters
AuthorizationstringOptional
AcceptstringOptional
Content-TypestringOptional
Body
friendly_namestringRequired

Friendly name of the account

descriptionstringOptional

Brief description of the account

Responses
200
200 response
application/json
400
Invalid request
application/json
401
Credentials were not provided and are required to access this resource
application/json
403
Forbidden error
application/json
404
Resource not found
application/json
409
Conflict error
application/json
422
Unprocessable Content
application/json
500
Internal Server Error
application/json
503
Server is temporarily not available
application/json
post
POST /v1/accounts HTTP/1.1
Host: iam.api.korewireless.com
Authorization: Bearer YOUR_OAUTH2_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 45

{
  "friendly_name": "text",
  "description": "text"
}
{
  "id": "text",
  "parent_id": "text",
  "date_created": "text",
  "friendly_name": "text",
  "status": "ACTIVE"
}