Skip to main content
POST
/
api
/
v1
/
csp
/
organization
/
signin
Create JWT token
curl --request POST \
  --url https://sandbox.api.paylias.xyz/gateway/api/v1/csp/organization/signin \
  --header 'Content-Type: application/json' \
  --header 'idempotency-key: <idempotency-key>' \
  --data '{
  "admin_email": "admin@getsafepay.com",
  "admin_password": "mypassword"
}'
{
  "ok": true,
  "data": {
    "access_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...",
    "token": "org_d09gv1s20or2svojjmt0"
  }
}

Headers

idempotency-key
string
default:""
required

The Idempotency Key - usually a UUID

Body

application/json

Request to authenticate an admin and receive a JWT token.

admin_email
string
required
Example:

"admin@getsafepay.com"

admin_password
string
required
Example:

"mypassword"

Response

JWT token created successfully

Standard response structure for successful operations

ok
boolean

Indicates if the operation was successful

Example:

true

data
object

Contains the response data Model containing JWT token information

I