REST API Endpoints
Creates a token to be used with initConnection() functions in the Terra mobile SDKs in order to create a user record for Apple Health or Samsung Health (or equivalent)
Authorizations
Header parameters
dev-idstringrequired
your developer ID
Example:
testingTerra
x-api-keystringrequired
your API key
Example:
OtHJok60oQmT8zhnUWc4SWBJI7ztPTs88C0gOsJJ
Responses
application/json
application/json
cURL
JavaScript
Python
HTTP
200
404
Endpoint for generation of a token for a user (producer) connection
Authorizations
Query parameters
idstringoptional
The ID of the user to generate a token for
Header parameters
dev-idstringrequired
your developer ID
x-api-keystringrequired
your API key
Responses
application/json
text/plain
cURL
JavaScript
Python
HTTP
200
403
Was this helpful?