HomeProductsSMS Spain

SMS Spain

NEW

From: €0.027 + VAT

SMS SPAIN via Openapi API enables the delivery of professional SMS to Spanish numbers, with a customized sender ID and high reliability.

Delivery

In Real Time

available for
  • es

SMS SPAIN is the Openapi service dedicated to sending professional SMS to Spanish numbers, designed for companies that require reliable, immediate, and traceable communications, with a customized sender ID and high quality standards.

Thanks to its wide reach, SMS remains one of the most effective channels for reaching end users: the message is delivered even in the absence of a data connection and is ideal for critical notifications , transactional communications , OTP and two-factor authentication, operational notices, and real-time updates.

With SMS SPAIN by Openapi, it is possible to send single messages or multiple campaigns in just a few seconds, integrating the service directly into your application workflows via REST APIs.

The service provides advanced features to optimize and secure SMS delivery:

  • dryRun: allows you to simulate message sending in order to preview the content in advance and reduce the risk of errors or policy violations.
  • failOnMultipleMessages: automatically blocks sending if the text generates multiple SMS (for example, due to special characters), returning an ALERT notification.

SEND SMS

The POST/ES-messages endpoint allows you to create and queue a new SMS intended exclusively for Spanish numbers, applying operational rules and pricing specific to Spain.

IMPORTANT: if the message content or the sender contains prohibited words, the message will be blocked, the account will be added to the block list, and the cost of the message will be charged.

REQUEST EXAMPLE

POST/ES-messages

This is an example request:

{
  "sender": "MyCompany",
  "recipient": "+393331234567",
  "message": "Hello! This is a test message.",
  "options": {
    "dryRun": false,
    "failOnMultipleMessages": false
  },
  "callback": {
    "method": "JSON",
    "field": "data",
    "url": "https://www.mysite.com/myEndpoint",
    "retry": 3,
    "headers": {
      "session_id": "9834r5fh589494"
    },
    "custom": {
      "my_custom_id": "123456789"
    }
  }
}

RESPONSE EXAMPLE

POST/ES-messages

The response returns the details of the accepted and queued message:

{
  "id": "633aabe3e4a9a0e69811ad7f",
  "username": "[email protected]",
  "state": "NEW",
  "sender": "Openapi",
  "recipient": "string",
  "internationalPrefix": "39",
  "countryCode": "IT",
  "message": "Lorem ipsum dolor sit amet, consectetur adipiscing elit",
  "encoding": "GSM-7",
  "charactersCount": 0,
  "messageCount": 0,
  "price": 0,
  "totalPrice": 0,
  "blocklisted": true,
  "blocklistedReason": "string",
  "options": {
    "dryRun": false,
    "failOnMultipleMessages": false
  },
  "callback": {
    "method": "JSON",
    "field": "data",
    "url": "https://www.mysite.com/myEndpoint",
    "retry": 3,
    "headers": {
      "session_id": "9834r5fh589494"
    },
    "custom": {
      "my_custom_id": "123456789"
    }
  },
  "createdAt": "2026-01-28T11:21:20.127Z",
  "updatedAt": "2026-01-28T11:21:20.127Z",
  "sentAt": "2026-01-28T11:21:20.127Z",
  "deliveredAt": "2026-01-28T11:21:20.127Z"
}

SENT MESSAGES CONSULTATION

GET /messages

Through the GET/messages endpoint, it is possible to retrieve a paginated list of messages sent by the account.

{
  "id": "633aabe3e4a9a0e69811ad7f",
  "username": "[email protected]",
  "state": "NEW",
  "sender": "Openapi",
  "recipient": "string",
  "internationalPrefix": "39",
  "countryCode": "IT",
  "message": "Lorem ipsum dolor sit amet, consectetur adipiscing elit",
  "encoding": "GSM-7",
  "charactersCount": 0,
  "messageCount": 0,
  "price": 0,
  "totalPrice": 0,
  "blocklisted": true,
  "blocklistedReason": "string",
  "options": {
    "dryRun": false,
    "failOnMultipleMessages": false
  },
  "callback": {
    "method": "JSON",
    "field": "data",
    "url": "https://www.mysite.com/myEndpoint",
    "retry": 3,
    "headers": {
      "session_id": "9834r5fh589494"
    },
    "custom": {
      "my_custom_id": "123456789"
    }
  },
  "createdAt": "2026-01-28T11:21:20.127Z",
  "updatedAt": "2026-01-28T11:21:20.127Z",
  "sentAt": "2026-01-28T11:21:20.127Z",
  "deliveredAt": "2026-01-28T11:21:20.127Z"
}

GET MESSAGE DETAILS

GET /messages/{id}

Allows you to retrieve all information related to the sent message (via its ID), such as sender, content, number of recipients, overall delivery statistics, and costs.

{
  "id": "633aabe3e4a9a0e69811ad7f",
  "username": "[email protected]",
  "state": "NEW",
  "sender": "Openapi",
  "recipient": "string",
  "internationalPrefix": "39",
  "countryCode": "IT",
  "message": "Lorem ipsum dolor sit amet, consectetur adipiscing elit",
  "encoding": "GSM-7",
  "charactersCount": 0,
  "messageCount": 0,
  "price": 0,
  "totalPrice": 0,
  "blocklisted": true,
  "blocklistedReason": "string",
  "options": {
    "dryRun": false,
    "failOnMultipleMessages": false
  },
  "callback": {
    "method": "JSON",
    "field": "data",
    "url": "https://www.mysite.com/myEndpoint",
    "retry": 3,
    "headers": {
      "session_id": "9834r5fh589494"
    },
    "custom": {
      "my_custom_id": "123456789"
    }
  },
  "createdAt": "2026-01-28T11:21:20.127Z",
  "updatedAt": "2026-01-28T11:21:20.127Z",
  "sentAt": "2026-01-28T11:21:20.127Z",
  "deliveredAt": "2026-01-28T11:21:20.127Z"
}

Sign Up

Do you need help?

Haven't found the answer you're looking for?

Fill in all the details, we will get back to you as soon as possible!

Frequently Asked Questions

SMS Spain is Openapi’s API service that enables you to send professional SMS messages to Spanish phone numbers, with a custom sender ID and certified delivery standards. It is the ideal solution for managing immediate and reliable communications, such as alerts, transactional notifications, two-factor authentication, and real-time updates.

What is SMS Spain and what is it used for?

The SMS API includes features such as:

  • dryRun: allows you to validate the request and estimate the cost without actually sending the SMS

  • failOnMultipleMessages: checks whether the message exceeds the length of a single SMS, preventing the sending of concatenated messages

  • Custom sender name personalization

What advanced features does the API offer?

Yes. SMS Italia allows you to send the same message to one or multiple recipients in just a few moments by integrating the service directly into your systems via API.

Can I send SMS messages to multiple recipients?

Yes, the API has a dedicated endpoint for monitoring the status of each message. This feature allows you to obtain detailed information about sent messages, such as recipients, delivery status, and overall statistics.

 

Can the status of sent messages be monitored?

The maximum length of an SMS depends on the encoding type used:

  • GSM-7: up to 160 characters per single SMS

  • UCS-2 (used for special characters, emojis, or non-Latin alphabets): up to 70 characters per single SMS

If the message exceeds these limits, it will be automatically split into multiple SMS messages.
Alternatively, you can use the failOnMultipleMessages option, which blocks the sending if the message exceeds the length of a single SMS.

How long can SMS messages be?

Yes, you can view all the information about a specific message, such as the sender, content, number of recipients, delivery status, and cost. It's simple and helps you keep track of all details.

Can I get detailed information about a sent message?

The SMS API service is designed for companies, developers, and digital teams that need a reliable, immediate, and highly effective communication channel that can be easily integrated into their systems and application workflows.
It is particularly suitable for:

  • OTP and Two-Factor Authentication (2FA) to increase access security

  • Real-time notifications and alerts, even without a data connection

  • Order, payment, and appointment confirmations to improve user experience

  • SMS marketing campaigns with high deliverability

  • Two-way SMS to manage user interactions and replies

  • Onboarding or activation flows for platforms and digital services

  • SIM activation, usage alerts, and credential resets

  • Appointment reminders and alerts for reports or sensitive communications

Thanks to its flexibility, the SMS API is suitable for both critical transactional communications and marketing and customer engagement initiatives, ensuring speed, reliability, and scalability.

Who is the SMS API service designed for?

The cost for a single request starts at €0.027. For SMS Spain, dedicated subscription plans are available, offering particularly advantageous rates, ideal for companies sending medium to high volumes of SMS messages and looking to optimize costs while maintaining high delivery quality.

What are the costs of the SMS Spain service?