Smartface Developer Center

Smartface Developer Center

Welcome to the Smartface Developer Hub. You'll find comprehensive guides and documentation to help you start developing and managing native iOS and Android apps with Smartface Cloud.

Get Started    
Suggest Edits

Get Token

 
posthttps://id.smartface.io/identity/connect/token
curl --request POST \
  --url https://id.smartface.io/identity/connect/token \
  --header 'content-type: application/x-www-form-urlencoded'
var request = require("request");

var options = { method: 'POST',
  url: 'https://id.smartface.io/identity/connect/token',
  headers: 
   { 'content-type': 'application/x-www-form-urlencoded' } };

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
require 'uri'
require 'net/http'

url = URI("https://id.smartface.io/identity/connect/token")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)
request["content-type"] = 'application/x-www-form-urlencoded'

response = http.request(request)
puts response.read_body
var data = JSON.stringify(false);

var xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener("readystatechange", function () {
  if (this.readyState === this.DONE) {
    console.log(this.responseText);
  }
});

xhr.open("POST", "https://id.smartface.io/identity/connect/token");
xhr.setRequestHeader("content-type", "application/x-www-form-urlencoded");

xhr.send(data);
import requests

url = "https://id.smartface.io/identity/connect/token"

headers = {'content-type': 'application/x-www-form-urlencoded'}

response = requests.request("POST", url, headers=headers)

print(response.text)
A binary file was returned

You couldn't be authenticated

{
    "access_token": "token",
    "expires_in": 72000,
    "token_type": "Bearer"
}

Body Params

username
string
required
password
string
required
client_id
string
required
client_secret
string
required
grant_type
string
required
scope
string
required

Headers

Content-Type
string
required
 
Suggest Edits

Get Dist Root Api

 

OAuth2 Auth

Bearer
 Authentication is required for this endpoint.
gethttps://distapi.smartface.io/api/v3/root
curl --request GET \
  --url https://distapi.smartface.io/api/v3/root
var request = require("request");

var options = { method: 'GET',
  url: 'https://distapi.smartface.io/api/v3/root' };

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
require 'uri'
require 'net/http'

url = URI("https://distapi.smartface.io/api/v3/root")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)

response = http.request(request)
puts response.read_body
var data = JSON.stringify(false);

var xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener("readystatechange", function () {
  if (this.readyState === this.DONE) {
    console.log(this.responseText);
  }
});

xhr.open("GET", "https://distapi.smartface.io/api/v3/root");

xhr.send(data);
import requests

url = "https://distapi.smartface.io/api/v3/root"

response = requests.request("GET", url)

print(response.text)
A binary file was returned

Your OAuth2 token is incorrect or has expired

{
    "appStore": [
        {
            "href": "https://distapi.smartface.io/api/v3/appstore/profiles",
            "rel": "get_profiles",
            "method": "GET"
        },
        {
            "href": "https://distapi.smartface.io/api/v3/appstore/profiles",
            "rel": "create_profile",
            "method": "POST"
        }
    ],
    "testingDist": [
        {
            "href": "https://distapi.smartface.io/api/v3/appstore/profiles",
            "rel": "get_profiles",
            "method": "GET"
        },
        {
            "href": "https://distapi.smartface.io/api/v3/appstore/profiles",
            "rel": "create_profile",
            "method": "POST"
        }
    ]
}

Headers

Accept
string
 
Suggest Edits

Get Profiles

 

OAuth2 Auth

Bearer
 Authentication is required for this endpoint.
gethttps://distapi.smartface.io/api/v3/appstore/profiles
curl --request GET \
  --url https://distapi.smartface.io/api/v3/appstore/profiles
var request = require("request");

var options = { method: 'GET',
  url: 'https://distapi.smartface.io/api/v3/appstore/profiles' };

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
require 'uri'
require 'net/http'

url = URI("https://distapi.smartface.io/api/v3/appstore/profiles")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)

response = http.request(request)
puts response.read_body
var data = JSON.stringify(false);

var xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener("readystatechange", function () {
  if (this.readyState === this.DONE) {
    console.log(this.responseText);
  }
});

xhr.open("GET", "https://distapi.smartface.io/api/v3/appstore/profiles");

xhr.send(data);
import requests

url = "https://distapi.smartface.io/api/v3/appstore/profiles"

response = requests.request("GET", url)

print(response.text)
A binary file was returned

Your OAuth2 token is incorrect or has expired

[
    {
        "id": 126,
        "name": "appname",
        "version": null,
        "appUniqueId": null,
        "iconUrl": "http://logo.jpg",
        "ipaCustomUrl": null,
        "apkCustomUrl": null,
        "shortDescription": "shortDescription",
        "longDescription": "longDescription",
        "ipaVersion": null,
        "apkVersion": null,
        "enabled": false,
        "totalCount": 0,
        "hasiOSPlatform": true,
        "hasAndroidPlatform": false,
        "enableStaticAuht": false,
        "userName": null,
        "password": null,
        "createDateTimeUtc": "2017-11-23T08:15:01.973",
        "updateDateTimeUtc": "2017-11-23T12:42:37.007",
        "items": [
            {
                "id": 320,
                "profileId": 126,
                "orderId": 0,
                "uniqueId": "1d5ff973-fc03-4888-99e9-6a86260f6ce3",
                "customUrl": null,
                "iconUrl": "http://logo.jpg",
                "name": "appname",
                "version": "1.0.0",
                "type": 5,
                "link": null,
                "fileSize": 15893639,
                "enabled": false,
                "clickCount": 0,
                "createDateTimeUtc": "2017-11-23T08:15:02.047",
                "updateDateTimeUtc": "2017-11-23T08:15:02.047",
                "profile": null
            }
        ]
    }
]
{
    "_value": [
        {
            "id": 126,
            "name": "appname",
            "version": null,
            "appUniqueId": null,
			"iconUrl": "http://logo.jpg",
            "ipaCustomUrl": null,
            "apkCustomUrl": null,
            "shortDescription": "shortDescription",
            "longDescription": "longDescription",
            "ipaVersion": null,
            "apkVersion": null,
            "enabled": false,
            "totalCount": 0,
            "hasiOSPlatform": true,
            "hasAndroidPlatform": false,
            "enableStaticAuht": false,
            "userName": null,
            "password": null,
            "createDateTimeUtc": "2017-11-23T08:15:01.973",
            "updateDateTimeUtc": "2017-11-23T12:42:37.007",
            "items": {
                "_value": [
                    {
                        "id": 320,
                        "profileId": 126,
                        "orderId": 0,
                        "uniqueId": "1d5ff973-fc03-4888-99e9-6a86260f6ce3",
                        "customUrl": null,
						"iconUrl": "http://logo.jpg",
                        "name": "appname",
                        "version": "1.0.0",
                        "type": 5,
                        "link": null,
                        "fileSize": 15893639,
                        "enabled": false,
                        "clickCount": 0,
                        "createDateTimeUtc": "2017-11-23T08:15:02.047",
                        "updateDateTimeUtc": "2017-11-23T08:15:02.047",
                        "profile": null,
                        "_links": [
                            {
                                "href": null,
                                "rel": "delete_profile_item",
                                "method": "DELETE"
                            }
                        ]
                    }
                ],
                "_links": [
                    {
                        "href": "https://distapi.smartface.io/api/v3/appstore/profiles/126",
                        "rel": "create_profile_item",
                        "method": "POST"
                    }
                ]
            },
            "_links": [
                {
                    "href": "https://distapi.smartface.io/api/v3/appstore/profiles/126",
                    "rel": "self",
                    "method": "GET"
                },
                {
                    "href": "https://distapi.smartface.io/api/v3/appstore/profiles/126",
                    "rel": "delete_profile",
                    "method": "DELETE"
                },
                {
                    "href": "https://distapi.smartface.io/api/v3/appstore/profiles/126",
                    "rel": "update_profile",
                    "method": "PUT"
                }
            ]
        }
]

Headers

Accept
string
 
Suggest Edits

Upload Profile

 

OAuth2 Auth

Bearer
 Authentication is required for this endpoint.
posthttps://distapi.smartface.io/api/v3/appstore/profiles
curl --request POST \
  --url https://distapi.smartface.io/api/v3/appstore/profiles
var request = require("request");

var options = { method: 'POST',
  url: 'https://distapi.smartface.io/api/v3/appstore/profiles' };

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
require 'uri'
require 'net/http'

url = URI("https://distapi.smartface.io/api/v3/appstore/profiles")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)

response = http.request(request)
puts response.read_body
var data = JSON.stringify(false);

var xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener("readystatechange", function () {
  if (this.readyState === this.DONE) {
    console.log(this.responseText);
  }
});

xhr.open("POST", "https://distapi.smartface.io/api/v3/appstore/profiles");

xhr.send(data);
import requests

url = "https://distapi.smartface.io/api/v3/appstore/profiles"

response = requests.request("POST", url)

print(response.text)
A binary file was returned

Your OAuth2 token is incorrect or has expired

{
    "Id": 129,
    "Name": "appName",
    "Version": "1.0.0",
    "AppUniqueId": "io.smartface.appName",
    "IconUrl": "http://logo.jpg",
    "Enabled": false,
    "TotalCount": 0,
    "HasiOSPlatform": true,
    "HasAndroidPlatform": false,
    "EnableStaticAuht": false,
    "CreateDateTimeUtc": "2017-11-24T08:00:42.7130857Z",
    "UpdateDateTimeUtc": "2017-11-24T08:00:43.2552337Z",
    "Items": [
        {
            "Id": 324,
            "ProfileId": 129,
            "OrderId": 0,
            "UniqueId": "1e364dc2-0f35-40c3-a595-bb0d4be45de0",
            "IconUrl": "http://logo.jpg",
            "Name": "appName",
            "Version": "1.0.0",
            "Type": 5,
            "FileSize": 50918205,
            "Enabled": false,
            "ClickCount": 0,
            "CreateDateTimeUtc": "2017-11-24T08:00:43.4157749Z",
            "UpdateDateTimeUtc": "2017-11-24T08:00:43.4157749Z"
        }
    ]
}
{
    "id": 131,
    "name": "appName",
    "version": "1.0.0",
    "appUniqueId": "io.smartface.appName",
    "iconUrl": "http://logo.jpg",
    "ipaCustomUrl": null,
    "apkCustomUrl": null,
    "shortDescription": null,
    "longDescription": null,
    "ipaVersion": null,
    "apkVersion": null,
    "enabled": false,
    "totalCount": 0,
    "hasiOSPlatform": true,
    "hasAndroidPlatform": false,
    "enableStaticAuht": false,
    "userName": null,
    "password": null,
    "createDateTimeUtc": "2017-11-24T08:05:09.9354801Z",
    "updateDateTimeUtc": "2017-11-24T08:05:10.0609861Z",
    "items": {
        "_value": [
            {
                "id": 326,
                "profileId": 131,
                "orderId": 0,
                "uniqueId": "ccbdd1f1-0809-4a13-9997-a2a61b1b91e6",
                "customUrl": null,
                "iconUrl": "http://logo.jpg",
                "name": "appName",
                "version": "1.0.0",
                "type": 5,
                "link": null,
                "fileSize": 50918205,
                "enabled": false,
                "clickCount": 0,
                "createDateTimeUtc": "2017-11-24T08:05:10.0849805Z",
                "updateDateTimeUtc": "2017-11-24T08:05:10.0849805Z",
                "profile": null,
                "_links": [
                    {
                        "href": "https://distapi.smartface.io/api/v3/appstore/profiles/items/328",
                        "rel": "delete_profile_item",
                        "method": "DELETE"
                    }
                ]
            }
        ],
        "_links": [
            {
                "href": "https://distapi.smartface.io/api/v3/appstore/profiles/131",
                "rel": "create_profile_item",
                "method": "POST"
            }
        ]
    },
    "_links": [
        {
            "href": "https://distapi.smartface.io/api/v3/appstore/profiles/131",
            "rel": "self",
            "method": "GET"
        },
        {
            "href": "https://distapi.smartface.io/api/v3/appstore/profiles/131",
            "rel": "delete_profile",
            "method": "DELETE"
        },
        {
            "href": "https://distapi.smartface.io/api/v3/appstore/profiles/131",
            "rel": "update_profile",
            "method": "PUT"
        }
    ]
}

Body Params

file
file
required

It can be ipa or apk file

Headers

Accept
string

Accept type can be "application/json" or "application/vnd.smartface.hateaos+json"

 
Suggest Edits

Get Profile By Id

 

OAuth2 Auth

Bearer
 Authentication is required for this endpoint.
gethttps://distapi.smartface.io/api/v3/appstore/profiles/id
curl --request GET \
  --url https://distapi.smartface.io/api/v3/appstore/profiles/id
var request = require("request");

var options = { method: 'GET',
  url: 'https://distapi.smartface.io/api/v3/appstore/profiles/id' };

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
require 'uri'
require 'net/http'

url = URI("https://distapi.smartface.io/api/v3/appstore/profiles/id")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)

response = http.request(request)
puts response.read_body
var data = JSON.stringify(false);

var xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener("readystatechange", function () {
  if (this.readyState === this.DONE) {
    console.log(this.responseText);
  }
});

xhr.open("GET", "https://distapi.smartface.io/api/v3/appstore/profiles/id");

xhr.send(data);
import requests

url = "https://distapi.smartface.io/api/v3/appstore/profiles/id"

response = requests.request("GET", url)

print(response.text)
A binary file was returned

Your OAuth2 token is incorrect or has expired

{
    "id": 126,
    "name": "appName",
    "version": null,
    "appUniqueId": null,
    "iconUrl": "http://logo.jpg",
    "ipaCustomUrl": null,
    "apkCustomUrl": null,
    "shortDescription": "shortDescription",
    "longDescription": "longDescription",
    "ipaVersion": null,
    "apkVersion": null,
    "enabled": false,
    "totalCount": 0,
    "hasiOSPlatform": true,
    "hasAndroidPlatform": false,
    "enableStaticAuht": false,
    "userName": null,
    "password": null,
    "createDateTimeUtc": "2017-11-23T08:15:01.973",
    "updateDateTimeUtc": "2017-11-23T12:42:37.007",
    "items": [
        {
            "id": 320,
            "profileId": 126,
            "orderId": 0,
            "uniqueId": "1d5ff973-fc03-4888-99e9-6a86260f6ce3",
            "customUrl": null,
            "iconUrl": "http://logo.jpg",
            "name": "HueLoo",
            "version": "1.0.0",
            "type": 5,
            "link": null,
            "fileSize": 15893639,
            "enabled": false,
            "clickCount": 0,
            "createDateTimeUtc": "2017-11-23T08:15:02.047",
            "updateDateTimeUtc": "2017-11-23T08:15:02.047"
        }
    ]
}

Path Params

id
int32
required

Headers

Accept
string
 
Suggest Edits

Update Profile

 

OAuth2 Auth

Bearer
 Authentication is required for this endpoint.
puthttps://distapi.smartface.io/api/v3/appstore/profiles/id
curl --request PUT \
  --url https://distapi.smartface.io/api/v3/appstore/profiles/id
var request = require("request");

var options = { method: 'PUT',
  url: 'https://distapi.smartface.io/api/v3/appstore/profiles/id' };

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
require 'uri'
require 'net/http'

url = URI("https://distapi.smartface.io/api/v3/appstore/profiles/id")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Put.new(url)

response = http.request(request)
puts response.read_body
var data = JSON.stringify(false);

var xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener("readystatechange", function () {
  if (this.readyState === this.DONE) {
    console.log(this.responseText);
  }
});

xhr.open("PUT", "https://distapi.smartface.io/api/v3/appstore/profiles/id");

xhr.send(data);
import requests

url = "https://distapi.smartface.io/api/v3/appstore/profiles/id"

response = requests.request("PUT", url)

print(response.text)
A binary file was returned

Your OAuth2 token is incorrect or has expired

{
    "id": 126,
    "name": "test",
    "version": null,
    "appUniqueId": null,
    "iconUrl": null,
    "ipaCustomUrl": null,
    "apkCustomUrl": null,
    "shortDescription": "ShortDescription",
    "longDescription": "LongDescription",
    "ipaVersion": null,
    "apkVersion": null,
    "enabled": false,
    "totalCount": 0,
    "hasiOSPlatform": false,
    "hasAndroidPlatform": false,
    "enableStaticAuht": false,
    "userName": null,
    "password": null,
    "createDateTimeUtc": "2017-11-23T08:15:01.973",
    "updateDateTimeUtc": "2017-11-24T12:24:59.2010222Z",
    "items": []
}

Path Params

id
int32
required

Body Params

Name
string
ShortDescription
string
LongDescription
string

Headers

Accept
string
 
Suggest Edits

Delete Profile By Id

 

OAuth2 Auth

Bearer
 Authentication is required for this endpoint.
deletehttps://distapi.smartface.io/api/v3/appstore/profiles/id
curl --request DELETE \
  --url https://distapi.smartface.io/api/v3/appstore/profiles/id
var request = require("request");

var options = { method: 'DELETE',
  url: 'https://distapi.smartface.io/api/v3/appstore/profiles/id' };

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
require 'uri'
require 'net/http'

url = URI("https://distapi.smartface.io/api/v3/appstore/profiles/id")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Delete.new(url)

response = http.request(request)
puts response.read_body
var data = JSON.stringify(false);

var xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener("readystatechange", function () {
  if (this.readyState === this.DONE) {
    console.log(this.responseText);
  }
});

xhr.open("DELETE", "https://distapi.smartface.io/api/v3/appstore/profiles/id");

xhr.send(data);
import requests

url = "https://distapi.smartface.io/api/v3/appstore/profiles/id"

response = requests.request("DELETE", url)

print(response.text)
A binary file was returned

Your OAuth2 token is incorrect or has expired

Try the API to see results
 
Suggest Edits

Upload Profile Item

 

OAuth2 Auth

Bearer
 Authentication is required for this endpoint.
posthttps://distapi.smartface.io/api/v3/appstore/profiles/id
curl --request POST \
  --url https://distapi.smartface.io/api/v3/appstore/profiles/id
var request = require("request");

var options = { method: 'POST',
  url: 'https://distapi.smartface.io/api/v3/appstore/profiles/id' };

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
require 'uri'
require 'net/http'

url = URI("https://distapi.smartface.io/api/v3/appstore/profiles/id")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)

response = http.request(request)
puts response.read_body
var data = JSON.stringify(false);

var xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener("readystatechange", function () {
  if (this.readyState === this.DONE) {
    console.log(this.responseText);
  }
});

xhr.open("POST", "https://distapi.smartface.io/api/v3/appstore/profiles/id");

xhr.send(data);
import requests

url = "https://distapi.smartface.io/api/v3/appstore/profiles/id"

response = requests.request("POST", url)

print(response.text)
A binary file was returned

Your OAuth2 token is incorrect or has expired

{
    "id": 329,
    "profileId": 134,
    "orderId": 0,
    "uniqueId": "db94adde-a9df-4f33-a121-5cd9b8370ea5",
    "customUrl": null,
    "iconUrl": "http://logo.jpg",
    "name": "testApp",
    "version": "1.0.0",
    "type": 5,
    "link": null,
    "fileSize": 50918205,
    "enabled": false,
    "clickCount": 0,
    "createDateTimeUtc": "2017-11-24T12:29:32.1323068Z",
    "updateDateTimeUtc": "2017-11-24T12:29:32.1323068Z",
    "profile": {
        "id": 134,
        "name": "testApp",
        "version": "1.0.0",
        "appUniqueId": "io.smartface.testApp",
        "iconUrl": "http://logo.jpg",
        "ipaCustomUrl": null,
        "apkCustomUrl": null,
        "shortDescription": null,
        "longDescription": null,
        "ipaVersion": null,
        "apkVersion": null,
        "enabled": false,
        "totalCount": 0,
        "hasiOSPlatform": true,
        "hasAndroidPlatform": false,
        "enableStaticAuht": false,
        "userName": null,
        "password": null,
        "createDateTimeUtc": "2017-11-24T12:29:31.5931994Z",
        "updateDateTimeUtc": "2017-11-24T12:29:32.1183102Z",
        "items": []
    }
}

Path Params

Accept
string
required

Body Params

fileName
file
required
 
Suggest Edits

Delete Profile Item By Id

 

OAuth2 Auth

Bearer
 Authentication is required for this endpoint.
deletehttps://distapi.smartface.io/api/v3/appstore/profiles/items/id
curl --request DELETE \
  --url https://distapi.smartface.io/api/v3/appstore/profiles/items/id
var request = require("request");

var options = { method: 'DELETE',
  url: 'https://distapi.smartface.io/api/v3/appstore/profiles/items/id' };

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
require 'uri'
require 'net/http'

url = URI("https://distapi.smartface.io/api/v3/appstore/profiles/items/id")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Delete.new(url)

response = http.request(request)
puts response.read_body
var data = JSON.stringify(false);

var xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener("readystatechange", function () {
  if (this.readyState === this.DONE) {
    console.log(this.responseText);
  }
});

xhr.open("DELETE", "https://distapi.smartface.io/api/v3/appstore/profiles/items/id");

xhr.send(data);
import requests

url = "https://distapi.smartface.io/api/v3/appstore/profiles/items/id"

response = requests.request("DELETE", url)

print(response.text)
A binary file was returned

Your OAuth2 token is incorrect or has expired

Try the API to see results

Path Params

id
int32
required
 
Suggest Edits

Get Profiles

 

OAuth2 Auth

Bearer
 Authentication is required for this endpoint.
gethttps://distapi.smartface.io/api/v3/testingdist/profiles
curl --request GET \
  --url https://distapi.smartface.io/api/v3/testingdist/profiles
var request = require("request");

var options = { method: 'GET',
  url: 'https://distapi.smartface.io/api/v3/testingdist/profiles' };

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
require 'uri'
require 'net/http'

url = URI("https://distapi.smartface.io/api/v3/testingdist/profiles")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)

response = http.request(request)
puts response.read_body
var data = JSON.stringify(false);

var xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener("readystatechange", function () {
  if (this.readyState === this.DONE) {
    console.log(this.responseText);
  }
});

xhr.open("GET", "https://distapi.smartface.io/api/v3/testingdist/profiles");

xhr.send(data);
import requests

url = "https://distapi.smartface.io/api/v3/testingdist/profiles"

response = requests.request("GET", url)

print(response.text)
A binary file was returned

Your OAuth2 token is incorrect or has expired

[
    {
        "id": 3627,
        "name": "testApp",
        "profiles": [],
        "lastProfile": {
            "id": 5123,
            "applicationName": "testApp",
            "applicationId": 3627,
            "profileId": 0,
            "version": "1.0.0",
            "uniqueName": "io.smartface.testApp",
            "platformTypeName": "iOS",
            "lastSendDateTimeUtc": null,
            "isActive": true,
            "fileSize": 50918205,
            "releaseNote": null,
            "profileFiles": [],
            "iconUrl": "https://distapi.smartface.io/api/v3/testingdist/profiles/items/5123/icon",
            "profileMembers": [],
            "fileName": null,
            "updateDateTimeUtc": "2017-11-30T09:19:11.03",
            "uploadDateTimeUtc": "2017-11-30T09:19:11.027"
        }
    }
 ]
{
    "_value": [
        {
            "id": 3627,
            "name": "testApp",
            "profiles": {
                "_value": [],
                "_links": [
                    {
                        "href": "https://distapi.smartface.io/api/v3/testingdist/profiles/3627/items",
                        "rel": "create_profile_item",
                        "method": "POST"
                    }
                ]
            },
            "lastProfile": {
                "id": 5127,
                "applicationName": "testApp",
                "applicationId": 3627,
                "profileId": 0,
                "version": "1.0.0",
                "uniqueName": "io.smartface.testApp",
                "platformTypeName": "iOS",
                "lastSendDateTimeUtc": null,
                "isActive": true,
                "fileSize": 50918205,
                "releaseNote": null,
                "profileFiles": [],
                "iconUrl": "https://distapi.smartface.io/api/v3/testingdist/profiles/items/5127/icon",
                "profileMembers": [],
                "fileName": null,
                "updateDateTimeUtc": "2017-11-30T10:46:03.813",
                "uploadDateTimeUtc": "2017-11-30T10:46:03.813",
                "_links": [
                    {
                        "href": "https://distapi.smartface.io/api/v3/testingdist/profiles/items/5127",
                        "rel": "self",
                        "method": "GET"
                    },
                    {
                        "href": "https://distapi.smartface.io/api/v3/testingdist/profiles/items/5127",
                        "rel": "delete_profile_item",
                        "method": "DELETE"
                    },
                    {
                        "href": "https://distapi.smartface.io/api/v3/testingdist/profiles/items/5127/activate",
                        "rel": "activate_profile_item",
                        "method": "POST"
                    },
                    {
                        "href": "https://distapi.smartface.io/api/v3/testingdist/profiles/items/5127/activate",
                        "rel": "deactivate_profile_item",
                        "method": "DELETE"
                    }
                ]
            },
            "_links": [
                {
                    "href": "https://distapi.smartface.io/api/v3/testingdist/profiles/3627",
                    "rel": "self",
                    "method": "GET"
                },
                {
                    "href": "https://distapi.smartface.io/api/v3/testingdist/profiles/3627",
                    "rel": "delete_profile",
                    "method": "DELETE"
                }
            ]
        }
       ],
    "_links": [
        {
            "href": "https://distapi.smartface.io/api/v3/testingdist/profiles",
            "rel": "create_profile",
            "method": "POST"
        },
        {
            "href": "https://distapi.smartface.io/api/v3/testingdist/profiles",
            "rel": "self",
            "method": "GET"
        }
    ]
}

Headers

Accept
string

For self discoverable mode, you should set "Accept" header as "application/vnd.smartface.hateaos+json"

 
Suggest Edits

Upload Profile

 

OAuth2 Auth

Bearer
 Authentication is required for this endpoint.
posthttps://distapi.smartface.io/api/v3/testingdist/profiles
curl --request POST \
  --url https://distapi.smartface.io/api/v3/testingdist/profiles
var request = require("request");

var options = { method: 'POST',
  url: 'https://distapi.smartface.io/api/v3/testingdist/profiles' };

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
require 'uri'
require 'net/http'

url = URI("https://distapi.smartface.io/api/v3/testingdist/profiles")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)

response = http.request(request)
puts response.read_body
var data = JSON.stringify(false);

var xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener("readystatechange", function () {
  if (this.readyState === this.DONE) {
    console.log(this.responseText);
  }
});

xhr.open("POST", "https://distapi.smartface.io/api/v3/testingdist/profiles");

xhr.send(data);
import requests

url = "https://distapi.smartface.io/api/v3/testingdist/profiles"

response = requests.request("POST", url)

print(response.text)
A binary file was returned

Your OAuth2 token is incorrect or has expired

{
    "id": 3630,
    "name": "testApp",
    "profiles": [
        {
            "id": 5126,
            "applicationName": "testApp",
            "applicationId": 3630,
            "profileId": 0,
            "version": "1.0.0",
            "uniqueName": "io.smartface.testApp",
            "platformTypeName": "iOS",
            "lastSendDateTimeUtc": null,
            "isActive": true,
            "fileSize": 50918205,
            "releaseNote": null,
            "profileFiles": [],
            "iconUrl": "https://distapi.smartface.io/api/v3/testingdist/profiles/items/5126/icon",
            "profileMembers": [],
            "fileName": null,
            "updateDateTimeUtc": "2017-11-30T10:37:52.9014264Z",
            "uploadDateTimeUtc": "2017-11-30T10:37:52.9014264Z"
        }
    ]
}

Body Params

file
file
required

Headers

Accept
string
 
Suggest Edits

Get Profile By Id

 

OAuth2 Auth

Bearer
 Authentication is required for this endpoint.
gethttps://distapi.smartface.io/api/v3/testingdist/profiles/id
curl --request GET \
  --url https://distapi.smartface.io/api/v3/testingdist/profiles/id
var request = require("request");

var options = { method: 'GET',
  url: 'https://distapi.smartface.io/api/v3/testingdist/profiles/id' };

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
require 'uri'
require 'net/http'

url = URI("https://distapi.smartface.io/api/v3/testingdist/profiles/id")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)

response = http.request(request)
puts response.read_body
var data = JSON.stringify(false);

var xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener("readystatechange", function () {
  if (this.readyState === this.DONE) {
    console.log(this.responseText);
  }
});

xhr.open("GET", "https://distapi.smartface.io/api/v3/testingdist/profiles/id");

xhr.send(data);
import requests

url = "https://distapi.smartface.io/api/v3/testingdist/profiles/id"

response = requests.request("GET", url)

print(response.text)
A binary file was returned

Your OAuth2 token is incorrect or has expired

{
    "id": 3627,
    "name": "testApp",
    "profiles": [
        {
            "id": 5123,
            "applicationName": "testApp",
            "applicationId": 3627,
            "profileId": 0,
            "version": "1.0.0",
            "uniqueName": "io.smartface.testApp",
            "platformTypeName": "iOS",
            "lastSendDateTimeUtc": null,
            "isActive": true,
            "fileSize": 50918205,
            "releaseNote": null,
            "profileFiles": [],
            "iconUrl": "https://distapi.smartface.io/api/v3/testingdist/profiles/items/5123/icon",
            "profileMembers": [],
            "fileName": null,
            "updateDateTimeUtc": "2017-11-30T09:19:11.03",
            "uploadDateTimeUtc": "2017-11-30T09:19:11.027"
        },
        {
            "id": 5122,
            "applicationName": "testApp",
            "applicationId": 3627,
            "profileId": 0,
            "version": "1.0.0",
            "uniqueName": "io.smartface.testApp",
            "platformTypeName": "iOS",
            "lastSendDateTimeUtc": null,
            "isActive": true,
            "fileSize": 50918205,
            "releaseNote": null,
            "profileFiles": [],
            "iconUrl": "https://distapi.smartface.io/api/v3/testingdist/profiles/items/5122/icon",
            "profileMembers": [],
            "fileName": null,
            "updateDateTimeUtc": "2017-11-30T09:18:00.273",
            "uploadDateTimeUtc": "2017-11-30T09:18:00.273"
        }
    ]
}

Path Params

id
int32
required

Headers

Accept
string
 
Suggest Edits

Delete Profile By Id

 

OAuth2 Auth

Bearer
 Authentication is required for this endpoint.
deletehttps://distapi.smartface.io/api/v3/testingdist/profiles/id
curl --request DELETE \
  --url https://distapi.smartface.io/api/v3/testingdist/profiles/id
var request = require("request");

var options = { method: 'DELETE',
  url: 'https://distapi.smartface.io/api/v3/testingdist/profiles/id' };

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
require 'uri'
require 'net/http'

url = URI("https://distapi.smartface.io/api/v3/testingdist/profiles/id")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Delete.new(url)

response = http.request(request)
puts response.read_body
var data = JSON.stringify(false);

var xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener("readystatechange", function () {
  if (this.readyState === this.DONE) {
    console.log(this.responseText);
  }
});

xhr.open("DELETE", "https://distapi.smartface.io/api/v3/testingdist/profiles/id");

xhr.send(data);
import requests

url = "https://distapi.smartface.io/api/v3/testingdist/profiles/id"

response = requests.request("DELETE", url)

print(response.text)
A binary file was returned

Your OAuth2 token is incorrect or has expired

Try the API to see results

Path Params

id
int32
required
 
Suggest Edits

Get Profile Item By Id

 

OAuth2 Auth

Bearer
 Authentication is required for this endpoint.
gethttps://distapi.smartface.io/api/v3/testingdist/profiles/items/id
curl --request GET \
  --url https://distapi.smartface.io/api/v3/testingdist/profiles/items/id
var request = require("request");

var options = { method: 'GET',
  url: 'https://distapi.smartface.io/api/v3/testingdist/profiles/items/id' };

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
require 'uri'
require 'net/http'

url = URI("https://distapi.smartface.io/api/v3/testingdist/profiles/items/id")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)

response = http.request(request)
puts response.read_body
var data = JSON.stringify(false);

var xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener("readystatechange", function () {
  if (this.readyState === this.DONE) {
    console.log(this.responseText);
  }
});

xhr.open("GET", "https://distapi.smartface.io/api/v3/testingdist/profiles/items/id");

xhr.send(data);
import requests

url = "https://distapi.smartface.io/api/v3/testingdist/profiles/items/id"

response = requests.request("GET", url)

print(response.text)
A binary file was returned

Your OAuth2 token is incorrect or has expired

{
    "id": 5123,
    "applicationName": "testApp",
    "applicationId": 3627,
    "profileId": 0,
    "version": "1.0.0",
    "uniqueName": "io.smartface.testApp",
    "platformTypeName": "iOS",
    "lastSendDateTimeUtc": null,
    "isActive": true,
    "fileSize": 50918205,
    "releaseNote": null,
    "profileFiles": [],
    "iconUrl": "https://distapi.smartface.io/api/v3/testingdist/profiles/items/5123/icon",
    "profileMembers": [],
    "fileName": "testApp.ipa",
    "updateDateTimeUtc": "2017-11-30T09:19:11.03",
    "uploadDateTimeUtc": "2017-11-30T09:19:11.027"
}

Path Params

id
int32
required

Headers

Accept
string
 
Suggest Edits

Upload Profile Item

 

OAuth2 Auth

Bearer
 Authentication is required for this endpoint.
posthttps://distapi.smartface.io/api/v3/testingdist/profiles/id/items
curl --request POST \
  --url https://distapi.smartface.io/api/v3/testingdist/profiles/id/items
var request = require("request");

var options = { method: 'POST',
  url: 'https://distapi.smartface.io/api/v3/testingdist/profiles/id/items' };

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
require 'uri'
require 'net/http'

url = URI("https://distapi.smartface.io/api/v3/testingdist/profiles/id/items")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)

response = http.request(request)
puts response.read_body
var data = JSON.stringify(false);

var xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener("readystatechange", function () {
  if (this.readyState === this.DONE) {
    console.log(this.responseText);
  }
});

xhr.open("POST", "https://distapi.smartface.io/api/v3/testingdist/profiles/id/items");

xhr.send(data);
import requests

url = "https://distapi.smartface.io/api/v3/testingdist/profiles/id/items"

response = requests.request("POST", url)

print(response.text)
A binary file was returned

Your OAuth2 token is incorrect or has expired

{
    "id": 5127,
    "applicationName": "testApp",
    "applicationId": 3627,
    "profileId": 0,
    "version": "1.0.0",
    "uniqueName": "io.smartface.testApp",
    "platformTypeName": "iOS",
    "lastSendDateTimeUtc": null,
    "isActive": true,
    "fileSize": 50918205,
    "releaseNote": null,
    "profileFiles": [],
    "iconUrl": "https://distapi.smartface.io/api/v3/testingdist/profiles/items/5127/icon",
    "profileMembers": [],
    "fileName": null,
    "updateDateTimeUtc": "2017-11-30T10:46:03.8131834Z",
    "uploadDateTimeUtc": "2017-11-30T10:46:03.8131834Z"
}

Path Params

id
int32
required

Body Params

file
file
required

Headers

Accept
string
 
Suggest Edits

Delete Profile Item By Id

 

OAuth2 Auth

Bearer
 Authentication is required for this endpoint.
deletehttps://distapi.smartface.io/api/v3/testingdist/profiles/items/id
curl --request DELETE \
  --url https://distapi.smartface.io/api/v3/testingdist/profiles/items/id
var request = require("request");

var options = { method: 'DELETE',
  url: 'https://distapi.smartface.io/api/v3/testingdist/profiles/items/id' };

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
require 'uri'
require 'net/http'

url = URI("https://distapi.smartface.io/api/v3/testingdist/profiles/items/id")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Delete.new(url)

response = http.request(request)
puts response.read_body
var data = JSON.stringify(false);

var xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener("readystatechange", function () {
  if (this.readyState === this.DONE) {
    console.log(this.responseText);
  }
});

xhr.open("DELETE", "https://distapi.smartface.io/api/v3/testingdist/profiles/items/id");

xhr.send(data);
import requests

url = "https://distapi.smartface.io/api/v3/testingdist/profiles/items/id"

response = requests.request("DELETE", url)

print(response.text)
A binary file was returned

Your OAuth2 token is incorrect or has expired

Try the API to see results

Path Params

id
int32
required
 
Suggest Edits

Activate Profile Item

 

OAuth2 Auth

Bearer
 Authentication is required for this endpoint.
gethttps://distapi.smartface.io/api/v3/testingdist/profiles/items/id//activate
curl --request GET \
  --url https://distapi.smartface.io/api/v3/testingdist/profiles/items/id//activate
var request = require("request");

var options = { method: 'GET',
  url: 'https://distapi.smartface.io/api/v3/testingdist/profiles/items/id//activate' };

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
require 'uri'
require 'net/http'

url = URI("https://distapi.smartface.io/api/v3/testingdist/profiles/items/id//activate")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)

response = http.request(request)
puts response.read_body
var data = JSON.stringify(false);

var xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener("readystatechange", function () {
  if (this.readyState === this.DONE) {
    console.log(this.responseText);
  }
});

xhr.open("GET", "https://distapi.smartface.io/api/v3/testingdist/profiles/items/id//activate");

xhr.send(data);
import requests

url = "https://distapi.smartface.io/api/v3/testingdist/profiles/items/id//activate"

response = requests.request("GET", url)

print(response.text)
A binary file was returned

Your OAuth2 token is incorrect or has expired

{
    "id": 5120,
    "applicationName": "testApp",
    "applicationId": 3627,
    "profileId": 0,
    "version": "1.0.0",
    "uniqueName": "io.smartface.testApp",
    "platformTypeName": "iOS",
    "lastSendDateTimeUtc": "2017-11-30T10:16:05.973",
    "isActive": true,
    "fileSize": 50918205,
    "releaseNote": null,
    "profileFiles": [],
    "iconUrl": "https://distapi.smartface.io/api/v3/testingdist/profiles/items/5120/icon",
    "profileMembers": [
        {
            "id": 3070,
            "profileId": 5120,
            "memberId": 4197,
            "shareMemberStatus": 0,
            "lastShareDateTimeUtc": "2017-11-30T10:16:06.883",
            "isDeleted": null,
            "member": {
                "id": 4197,
                "name": null,
                "email": "test@smartface.io",
                "teamMembers": [
                    {
                        "teamId": 3175,
                        "memberId": 4197,
                        "team": {
                            "id": 3175,
                            "name": "Ungroup",
                            "ownerId": 2,
                            "ungrouped": true,
                            "teamMembers": []
                        }
                    }
                ]
            },
            "version": "1.0.0",
            "profileDownloadHistories": []
        }
    ],
    "fileName": "testApp.ipa",
    "updateDateTimeUtc": "2017-11-30T10:49:10.3029585Z",
    "uploadDateTimeUtc": "2017-11-30T08:47:54.307"
}

Path Params

id
int32
required

Headers

Accept
string
 
Suggest Edits

Deactivate Profile Item

 

OAuth2 Auth

Bearer
 Authentication is required for this endpoint.
deletehttps://distapi.smartface.io/api/v3/testingdist/profiles/items/id/activate
curl --request DELETE \
  --url https://distapi.smartface.io/api/v3/testingdist/profiles/items/id/activate
var request = require("request");

var options = { method: 'DELETE',
  url: 'https://distapi.smartface.io/api/v3/testingdist/profiles/items/id/activate' };

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
require 'uri'
require 'net/http'

url = URI("https://distapi.smartface.io/api/v3/testingdist/profiles/items/id/activate")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Delete.new(url)

response = http.request(request)
puts response.read_body
var data = JSON.stringify(false);

var xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener("readystatechange", function () {
  if (this.readyState === this.DONE) {
    console.log(this.responseText);
  }
});

xhr.open("DELETE", "https://distapi.smartface.io/api/v3/testingdist/profiles/items/id/activate");

xhr.send(data);
import requests

url = "https://distapi.smartface.io/api/v3/testingdist/profiles/items/id/activate"

response = requests.request("DELETE", url)

print(response.text)
A binary file was returned

Your OAuth2 token is incorrect or has expired

{
    "id": 5120,
    "applicationName": "testApp",
    "applicationId": 3627,
    "profileId": 0,
    "version": "1.0.0",
    "uniqueName": "io.smartface.testApp",
    "platformTypeName": "iOS",
    "lastSendDateTimeUtc": "2017-11-30T10:16:05.973",
    "isActive": true,
    "fileSize": 50918205,
    "releaseNote": null,
    "profileFiles": [],
    "iconUrl": "https://distapi.smartface.io/api/v3/testingdist/profiles/items/5120/icon",
    "profileMembers": [
        {
            "id": 3070,
            "profileId": 5120,
            "memberId": 4197,
            "shareMemberStatus": 0,
            "lastShareDateTimeUtc": "2017-11-30T10:16:06.883",
            "isDeleted": null,
            "member": {
                "id": 4197,
                "name": null,
                "email": "test@smartface.io",
                "teamMembers": [
                    {
                        "teamId": 3175,
                        "memberId": 4197,
                        "team": {
                            "id": 3175,
                            "name": "Ungroup",
                            "ownerId": 2,
                            "ungrouped": true,
                            "teamMembers": []
                        }
                    }
                ]
            },
            "version": "1.0.0",
            "profileDownloadHistories": []
        }
    ],
    "fileName": "testApp.ipa",
    "updateDateTimeUtc": "2017-11-30T10:49:10.3029585Z",
    "uploadDateTimeUtc": "2017-11-30T08:47:54.307"
}

Path Params

id
int32
required
 

Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Suggest Edits

Send Mail

 

OAuth2 Auth

Bearer
 Authentication is required for this endpoint.
posthttps://distapi.smartface.io/api/v3/testingdist/profiles/items/id//send
curl --request POST \
  --url https://distapi.smartface.io/api/v3/testingdist/profiles/items/id//send
var request = require("request");

var options = { method: 'POST',
  url: 'https://distapi.smartface.io/api/v3/testingdist/profiles/items/id//send' };

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
require 'uri'
require 'net/http'

url = URI("https://distapi.smartface.io/api/v3/testingdist/profiles/items/id//send")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)

response = http.request(request)
puts response.read_body
var data = JSON.stringify(false);

var xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener("readystatechange", function () {
  if (this.readyState === this.DONE) {
    console.log(this.responseText);
  }
});

xhr.open("POST", "https://distapi.smartface.io/api/v3/testingdist/profiles/items/id//send");

xhr.send(data);
import requests

url = "https://distapi.smartface.io/api/v3/testingdist/profiles/items/id//send"

response = requests.request("POST", url)

print(response.text)
A binary file was returned

Your OAuth2 token is incorrect or has expired

Try the API to see results

Path Params

id
int32
required

Body Params

teamIds
array of integers
memberIds
array of integers
emails
array of strings