# Getting started
🗝️ Password to Token
Before start using our API, you need your account Username and Password as you got to your mailbox while register to the service. You can reset your account's Password by forgot password button on login screen. In order to start using our API services, generate API TOKEN is needed. After gathering all the information - it's time to get a token
Pay attention
you must ensure the use of HTTP security level (TLS - Transport Layer Security) of 1.2 or higher. We recommend using our secure IP service. which can be added from the Application in this : link
# Generate API TOKEN
# Description
You can use this API to generate an api token.
# Endpoint
POST https://my.textme.co.il/api
# Header
Name | Type | Description |
---|---|---|
Content-Type | application/xml | In case of sending XML its required header |
Content-Type | application/json | In case of sending JSON its required header |
# Parameters
Name | Type | Description | Required |
---|---|---|---|
user->username | string | Admin account username | ✔️ |
user->password | string | Admin account password | ✔️ |
username | string | requested account username | ✔️ |
action | string | "new" / "current" | ✔️ |
# Request Example
xml
Copy code
# Response Example
xml
Copy code
After generating API Token you can use it in our services . The token should be added to the header of each request as follows:
Name | Type | Required |
---|---|---|
Authorization | Bearer YOUR TOKEN | ✔️ |