Nudgescribe API Reference
APIs
API types
  • Authentication
  • Content
  • Campaign
APIs
API types
  • Authentication
  • Content
  • Campaign
  1. Authentication
  • Nudgescribe API
  • Authentication
    • Authentication
    • Authenticate
      POST
    • Re-Authenticate
      GET
  • Content
    • Customers
      • Customer Management
      • Upload and Validate Customer Data
      • Get pages
      • Get Customers
      • Update Customers
      • Delete Customers
    • Customer Groups
      • Customer Groups
      • Create Customer Group
      • Get Customer Groups
      • Update Customer Group
      • Delete Customer Group
    • Customer Profile Fields
      • Customer Profile Fields
      • Create a Custom Profile Field
      • Get Customer Profile Fields for a Workspace
      • Update Custom Fields
      • Delete Custom Fields
  • Campaigns
    • Campaigns and Campaign Messages
    • Get All Accounts Campaigns
      POST
    • Publish Messages to Secure Storage
      POST
    • Retrieve Published Messages
      POST
    • Get Campaign Messages Pages
      POST
  1. Authentication

Authenticate

POST
https://client-api.dev.nudgescribe.com/v1/auth
AuthenticationAuthUserClientAccess TokenRefresh Token
Primary authentication endpoint for client applications and third-party integrations requiring programmatic access to the NudgeScribe platform.
Enables secure authentication for external clients using API credentials, providing JWT tokens for subsequent API calls.

Request

Header Params

Body Params application/json

Examples

Responses

🟢200Success
application/json
Body

🟠400Bad Request
🟠401Unauthorised
🔴500Server Error
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://client-api.dev.nudgescribe.com/v1/auth' \
--header 'x-api-key;' \
--header 'Content-Type: application/json' \
--data-raw '{
    "email": "Orval_Corwin47@yahoo.com",
    "password": "hkbPbkns6cGq0nH"
}'
Response Response Example
200 - Example 1
{
    "code": 200,
    "message": "Sign-in completed",
    "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...",
    "refresh_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..."
}
Modified at 2025-09-12 14:00:15
Previous
Authentication
Next
Re-Authenticate
Built with